diff --git a/GIT-VERSION-GEN b/GIT-VERSION-GEN
index 03fb9d76aea22a7d7d7f5e2351fcf169ccd7987b..0d4c2f79c58a2141dc5d5d6998f7ab2a2fa31881 100755 (executable)
--- a/GIT-VERSION-GEN
+++ b/GIT-VERSION-GEN
#!/bin/sh
GVF=GIT-VERSION-FILE
-DEF_VER=v1.5.4.2.GIT
+DEF_VER=v1.5.4.3.GIT
LF='
'
case "$VN" in
*$LF*) (exit 1) ;;
v[0-9]*)
- git diff-index --quiet HEAD || VN="$VN-dirty" ;;
+ test -z "$(git diff-index --name-only HEAD)" ||
+ VN="$VN-dirty" ;;
esac
then
VN=$(echo "$VN" | sed -e 's/-/./g');