summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2017-01-10 14:11:12 +0100
committerChristophe Lyon <christophe.lyon@linaro.org>2017-01-10 14:11:12 +0100
commitee3379c11f6ae79111252d98387b11affccfc3d4 (patch)
tree75367d67768ce3a9c608e90e81762c2bd1835632
parentaa98c55d67796a2405a7f5b6b8b0846affb3268d (diff)
Fix typo when printing SVN rev and SHA1
Change-Id: I5025c6b8d0b9eab8a1cc5ee9e91c52fc12943152
-rwxr-xr-xbackflip2
1 files changed, 1 insertions, 1 deletions
diff --git a/backflip b/backflip
index e05a190..fd8e012 100755
--- a/backflip
+++ b/backflip
@@ -207,7 +207,7 @@ print_info "example: ${bold}backflip -r master${NC}"
print_step "Finding SHA1 for SVN revision $REV"
# ==============================================================================
SHA1=`git log --format=format:"%H" --grep=trunk@${REV} master`
-print_info "${NC}SVN rev ${bold}${1}${NC} SHA1: ${bold}${SHA1}${NC}"
+print_info "${NC}SVN rev ${bold}${REV}${NC} SHA1: ${bold}${SHA1}${NC}"
if $INTERACTIVE; then
ask "${bold}View the commit [N/y] ?" user_view
if [ "$user_view" == "y" ]; then