From: Mike Frysinger Date: Sat, 25 Oct 2008 21:43:50 +0000 (-0400) Subject: kbuild: setlocalversion: dont include svn change count X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e3da2fb712bb75b6035ba0743f3256df1de30bce;p=openwrt%2Fstaging%2Fblogic.git 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: Mike Frysinger Signed-off-by: Sam Ravnborg --- diff --git a/scripts/setlocalversion b/scripts/setlocalversion index 83b75126c9f7..453faffe18a7 100755 --- a/scripts/setlocalversion +++ b/scripts/setlocalversion @@ -55,7 +55,7 @@ if rev=`svn info 2>/dev/null | grep '^Revision'`; then # Are there uncommitted changes? if [ $changes != 0 ]; then - printf -- '-svn%s%s%s' "$rev" -dirty "$changes" + printf -- '-svn%s%s' "$rev" -dirty else printf -- '-svn%s' "$rev" fi