Switch revision handling to deal with git describe output

This commit is contained in:
Tom Morris 2013-03-25 16:28:18 -04:00
parent f6d94ecf38
commit 277c31c0d3

3
refine
View File

@ -213,8 +213,7 @@ get_revision() {
else
error "cannot obtain revision, exiting!"
fi
REVISION=`echo $INFO | sed 's/.*Revision: /r/' | sed 's/ .*//'`
REVISION=`echo $INFO | sed s/^$VERSION-//`
}
download() {