diff --git a/scripts/setlocalversion b/scripts/setlocalversion index 38b96c679..44d2300c0 100755 --- a/scripts/setlocalversion +++ b/scripts/setlocalversion @@ -92,7 +92,7 @@ scm_version() # If only the short version is requested, don't bother # running further git commands if $short; then - echo "+" + echo "" return fi # If we are past the tagged commit, we pretty print it. @@ -183,4 +183,4 @@ elif [ "${LOCALVERSION+set}" != "set" ]; then scm_version="$(scm_version --short)" fi -echo "${KERNELVERSION}${file_localversion}${config_localversion}${LOCALVERSION}${scm_version}" +echo "${KERNELVERSION}${file_localversion}${config_localversion}${LOCALVERSION}"