diff --git a/scripts/setlocalversion b/scripts/setlocalversion index 365b3c2b8f43..61ac0b0d9607 100755 --- a/scripts/setlocalversion +++ b/scripts/setlocalversion @@ -64,7 +64,7 @@ scm_version() # If we don't have a tag at all we print -g{commitish}. else - printf '%s%s' -g $head + printf '%s%s' fi fi @@ -83,7 +83,7 @@ scm_version() git --no-optional-locks status -uno --porcelain 2>/dev/null || git diff-index --name-only HEAD } | grep -qvE '^(.. )?scripts/package'; then - printf '%s' -dirty + printf '%s' fi # All done with git