We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16341cc commit c1149f7Copy full SHA for c1149f7
share/genbuild.sh
@@ -22,7 +22,7 @@ if [ -e "$(which git 2>/dev/null)" -a "$(git rev-parse --is-inside-work-tree 2>/
22
23
# if latest commit is tagged and not dirty, then override using the tag name
24
RAWDESC=$(git describe --abbrev=0 2>/dev/null)
25
- 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
26
git diff-index --quiet HEAD -- && DESC=$RAWDESC
27
fi
28
0 commit comments