Skip to content

Commit

Permalink
build: fix: remove error output
Browse files Browse the repository at this point in the history
while git not found in path, error is output to console.
  • Loading branch information
imwuzhh committed May 9, 2014
1 parent 9b4b3cf commit b1f0be0
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)" -a -d ".git" ]; then
if [ -e "$(which git 2>/dev/null)" -a -d ".git" ]; 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 b1f0be0

Please sign in to comment.