diff --git a/share/genbuild.sh b/share/genbuild.sh index 43b1de694..e1062bafe 100755 --- a/share/genbuild.sh +++ b/share/genbuild.sh @@ -22,7 +22,7 @@ if [ -e "$(which git 2>/dev/null)" -a "$(git rev-parse --is-inside-work-tree 2>/ # clean 'dirty' status of touched files that haven't been modified git diff >/dev/null 2>/dev/null - # if latest commit is tagged and not dirty, then override using the tag name + # if latest commit is tagged and not dirty, then override using the tag name - suspect DESC=$(git describe 2>/dev/null) RAWDESC=$(git describe --abbrev=0 2>/dev/null) git diff-index --quiet HEAD -- || DESC="$DESC-dirty"