Skip to content

Commit

Permalink
Fix build description
Browse files Browse the repository at this point in the history
  • Loading branch information
Neil committed Jan 29, 2019
1 parent 63479e3 commit c53ca89
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion share/genbuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ if [ "${BITCOIN_GENBUILD_NO_GIT}" != "1" -a -e "$(which git 2>/dev/null)" -a "$(
# 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 2>/dev/null)" ]; then
git diff-index --quiet HEAD -- && DESC=$RAWDESC
git diff-index --quiet HEAD --
DESC=$RAWDESC
fi

# otherwise generate suffix from git, i.e. string like "59887e8-dirty"
Expand Down

0 comments on commit c53ca89

Please sign in to comment.