aboutsummaryrefslogtreecommitdiff
path: root/share/genbuild.sh
diff options
context:
space:
mode:
authorFrancis GASCHET <fg@numlog.fr>2014-11-03 11:14:57 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2014-11-04 15:59:45 +0100
commit70d80cc7bf89211a5aa157cb624fff3b7097c48e (patch)
tree83bddf96942ebf317dab50c906ef3993fd4a2419 /share/genbuild.sh
parentbe32b5212b6ab4460080ec5ff55e2bf882259e5e (diff)
build: Fix "too many arguments" error
Closes #5141
Diffstat (limited to 'share/genbuild.sh')
-rwxr-xr-xshare/genbuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/genbuild.sh b/share/genbuild.sh
index 679566e596..ffa89ca6e4 100755
--- a/share/genbuild.sh
+++ b/share/genbuild.sh
@@ -16,7 +16,7 @@ fi
DESC=""
SUFFIX=""
LAST_COMMIT_DATE=""
-if [ -e "$(which git 2>/dev/null)" -a $(git rev-parse --is-inside-work-tree 2>/dev/null) = "true" ]; then
+if [ -e "$(which git 2>/dev/null)" -a "$(git rev-parse --is-inside-work-tree 2>/dev/null)" = "true" ]; then
# clean 'dirty' status of touched files that haven't been modified
git diff >/dev/null 2>/dev/null