projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcc2da1
)
kbuild: setlocalversion: dont include svn change count
author
Mike Frysinger
<vapier@gentoo.org>
Sat, 25 Oct 2008 21:43:50 +0000
(17:43 -0400)
committer
Sam Ravnborg
<sam@ravnborg.org>
Wed, 29 Oct 2008 21:02:07 +0000
(22:02 +0100)
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 <vapier@gentoo.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
scripts/setlocalversion
patch
|
blob
|
history
diff --git
a/scripts/setlocalversion
b/scripts/setlocalversion
index 83b75126c9f7b5c57a92c8f996dc94e6c61d6680..453faffe18a7f7adb9db4bffd13f97234a0ba363 100755
(executable)
--- 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