Merge pull request #4946

c65cc8c build: fix release name strings for gitian builds (Cory Fields)
This commit is contained in:
Wladimir J. van der Laan 2014-09-25 10:52:57 +02:00
commit 35e5b5329a
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 2>/dev/null)" -a -d ".git" ]; 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