From afadf3ea3fc4109f55f2f76bdb0e01327acef7b3 Mon Sep 17 00:00:00 2001 From: Chris Mayo Date: Mon, 26 Jun 2017 19:23:58 +0100 Subject: [PATCH] Revert "Use double quoting in get_version.sh" Fixed symptom not the underlying problem. This reverts commit e39a841f6edcc5cbd7aed8d3f733d40f57b524c6. --- get_version.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/get_version.sh b/get_version.sh index 2b73fd3..6923362 100755 --- a/get_version.sh +++ b/get_version.sh @@ -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