Skip to content

Commit

Permalink
build: Fix "too many arguments" error
Browse files Browse the repository at this point in the history
Closes #5141
  • Loading branch information
Francis GASCHET authored and laanwj committed Nov 4, 2014
1 parent be32b52 commit 70d80cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion share/genbuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 70d80cc

Please sign in to comment.