Merge pull request #4155

b1f0be0 build: fix: remove error output (harry)
This commit is contained in:
Wladimir J. van der Laan 2014-05-09 12:32:16 +02:00
commit 8b542d5874
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
1 changed files with 1 additions and 1 deletions

View File

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