Skip to content

Commit

Permalink
fixing genguild
Browse files Browse the repository at this point in the history
  • Loading branch information
faetos committed Jul 29, 2018
1 parent e233ce3 commit 2e7b5bc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion share/genbuild.sh
Expand Up @@ -25,7 +25,11 @@ if [ -e "$(which git 2>/dev/null)" -a "$(git rev-parse --is-inside-work-tree 2>/
# 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"
if git diff-index --quiet HEAD; then
DESC="$DESC-dirty"
else:
DESC="$DESC"
fi

# get a string like "2012-04-10 16:27:19 +0200"
LAST_COMMIT_DATE="$(git log -n 1 --format="%ci")"
Expand Down

0 comments on commit 2e7b5bc

Please sign in to comment.