From 1eb189cf47cc1e327a7c82596264d046cd7d6396 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sat, 22 Apr 2017 18:57:57 +0200 Subject: [PATCH] shell wants spaces around = for string compares? --- s/build | 1 + 1 file changed, 1 insertion(+) diff --git a/s/build b/s/build index 818cb0268..e47ecf903 100755 --- a/s/build +++ b/s/build @@ -35,6 +35,7 @@ cd $ROOT/$BUILD BRANCH=$(git status -s -b | head -1 | cut -d\ -f 2 | sed 's/\..*//') if [ "$BRANCH" = "master" ] ; then VERSION=$(git describe --match 'v*.*.*' --tags | sed 's/^v//') +echo "$BRANCH $VERSION" cmake -DERESSEA_VERSION="$VERSION" .. else REV=$(git rev-parse --short HEAD)