Skip to content

Commit

Permalink
Merge pull request #32
Browse files Browse the repository at this point in the history
e63b955 build: if there's no recent git tag, don't spew error messages (Cory Fields)
  • Loading branch information
pstratem committed Jun 23, 2015
2 parents 9e87655 + e63b955 commit 9211c17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion share/genbuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ 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
RAWDESC=$(git describe --abbrev=0 2>/dev/null)
if [ "$(git rev-parse HEAD)" = "$(git rev-list -1 $RAWDESC)" ]; then
if [ "$(git rev-parse HEAD)" = "$(git rev-list -1 $RAWDESC 2>/dev/null)" ]; then
git diff-index --quiet HEAD -- && DESC=$RAWDESC
fi

Expand Down

0 comments on commit 9211c17

Please sign in to comment.