From c53ca89c78390332699c6c36fe2d1e22fc164320 Mon Sep 17 00:00:00 2001 From: Neil Date: Tue, 29 Jan 2019 18:19:33 +0100 Subject: [PATCH] Fix build description --- share/genbuild.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/share/genbuild.sh b/share/genbuild.sh index 38c9ba176c..c1128bf212 100755 --- a/share/genbuild.sh +++ b/share/genbuild.sh @@ -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"