Skip to content

Commit

Permalink
Fix revision calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
tfmorris committed Aug 15, 2013
1 parent 25f02dd commit 3aa1e3c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion refine
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,8 @@ get_revision() {
REVISION=`echo $INFO | sed s/^$VERSION-//`
elif [ -d ".git" ] ; then
INFO=`git describe`
REVISION=${`echo $INFO`:3}
REVISION=`echo $INFO`
REVISION=${REVISION:4}
else
error "cannot obtain revision, exiting!"
fi
Expand Down

0 comments on commit 3aa1e3c

Please sign in to comment.