diff --git a/scripts/getversion.sh b/scripts/getversion.sh index b6f2bd4c45..d505579f2b 100755 --- a/scripts/getversion.sh +++ b/scripts/getversion.sh @@ -21,8 +21,6 @@ if ghash=$(git rev-parse --short --verify HEAD 2>/dev/null); then fi # avoid putting the -dirty attribute if only the timestamp # changed - git status > /dev/null 2>&1 - dirty=$(sh -c "[ '$(git diff-index --name-only HEAD)' ] \ && echo '-dirty'") ver="${ver_major}.${ver_branch}.${numcommits}-${ghash}${dirty}"