diff --git a/.tools/make-tar.sh b/.tools/make-tar.sh index ff78a23cd..4c9c33a7b 100755 --- a/.tools/make-tar.sh +++ b/.tools/make-tar.sh @@ -36,7 +36,10 @@ case "$PREFIX" in esac # Check for both and R -if ! [ `git tag -l $TOPREV` ] +if [ "$TOPREV" = "HEAD" ] +then + true +elif ! [ `git tag -l $TOPREV` ] then if [ `git tag -l R$TOPREV` ] then