Commit e3da2fb7 authored by Mike Frysinger's avatar Mike Frysinger Committed by Sam Ravnborg

kbuild: setlocalversion: dont include svn change count

The number of pending changes is pretty useless, so encoding it into the
version is just annoying by the constant shuffle in corresponding modules.
Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
parent dcc2da1a
...@@ -55,7 +55,7 @@ if rev=`svn info 2>/dev/null | grep '^Revision'`; then ...@@ -55,7 +55,7 @@ if rev=`svn info 2>/dev/null | grep '^Revision'`; then
# Are there uncommitted changes? # Are there uncommitted changes?
if [ $changes != 0 ]; then if [ $changes != 0 ]; then
printf -- '-svn%s%s%s' "$rev" -dirty "$changes" printf -- '-svn%s%s' "$rev" -dirty
else else
printf -- '-svn%s' "$rev" printf -- '-svn%s' "$rev"
fi fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment