Browse Source

build: Fix "too many arguments" error

Closes #5141
tags/v0.15.1
Francis GASCHET 5 years ago
parent
commit
70d80cc7bf
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      share/genbuild.sh

+ 1
- 1
share/genbuild.sh View File

@@ -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


Loading…
Cancel
Save