mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 03:52:49 +01:00
build: fix: remove error output
while git not found in path, error is output to console.
This commit is contained in:
parent
9b4b3cf9cf
commit
b1f0be0a05
@ -16,7 +16,7 @@ fi
|
|||||||
DESC=""
|
DESC=""
|
||||||
SUFFIX=""
|
SUFFIX=""
|
||||||
LAST_COMMIT_DATE=""
|
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
|
# clean 'dirty' status of touched files that haven't been modified
|
||||||
git diff >/dev/null 2>/dev/null
|
git diff >/dev/null 2>/dev/null
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user