Revert "Use double quoting in get_version.sh"
Fixed symptom not the underlying problem.
This reverts commit e39a841f6e
.
This commit is contained in:
parent
c8ccf053ff
commit
afadf3ea3f
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ then
|
|||
VERSION=$(git describe --exact-match 2>/dev/null || echo "$MAJOR-git$(git show -s --pretty=format:%ci | cut -d ' ' -f 1 | tr -d '-').$(git show -s --pretty=format:%h)")$DIRTY
|
||||
else
|
||||
VERSION=$( (head -n 1 ChangeLog || head -n 1 ../ChangeLog) | cut -d ' ' -f 2)
|
||||
if [ "$VERSION" = "master" ]
|
||||
if [ $VERSION = "master" ]
|
||||
then
|
||||
VERSION=$VERSION-$( (head -n 1 ChangeLog || head -n 1 ../ChangeLog) | cut -d ' ' -f 1)
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue