Skip to content

Commit

Permalink
ganked Phore genbuild - much better
Browse files Browse the repository at this point in the history
  • Loading branch information
faetos committed Jul 18, 2018
1 parent c0c7c52 commit 3422773
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions share/genbuild.sh
Expand Up @@ -21,8 +21,8 @@ if [ -e "$(which git 2>/dev/null)" -a "$(git rev-parse --is-inside-work-tree 2>/
git diff >/dev/null 2>/dev/null

# if latest commit is tagged and not dirty, then override using the tag name
DESC=$(git describe 2>/dev/null)
RAWDESC=$(git describe --abbrev=0 2>/dev/null)
DESC=$(git describe --tags 2>/dev/null)
RAWDESC=$(git describe --tags --abbrev=0 2>/dev/null)
git diff-index --quiet HEAD -- || DESC="$DESC-dirty"

# get a string like "2012-04-10 16:27:19 +0200"
Expand Down

0 comments on commit 3422773

Please sign in to comment.