summaryrefslogtreecommitdiff
path: root/scripts/setlocalversion
diff options
context:
space:
mode:
authorFelix Blyakher <felixb@sgi.com>2009-02-18 15:35:05 -0600
committerFelix Blyakher <felixb@sgi.com>2009-02-18 15:35:05 -0600
commit01234f3c87fff1d83adef8a70fdc18f27d67d75c (patch)
tree95a24fe0b257404ca1ee01faee7e2201e3632b9f /scripts/setlocalversion
parent8aa4349ad527db56724b1ab9478db65a8065e0bb (diff)
parent5955c7a2cfb6a35429adea5dc480002b15ca8cfc (diff)
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Diffstat (limited to 'scripts/setlocalversion')
-rwxr-xr-xscripts/setlocalversion9
1 files changed, 1 insertions, 8 deletions
diff --git a/scripts/setlocalversion b/scripts/setlocalversion
index f6946cf99ce1..f1c4b35bc324 100755
--- a/scripts/setlocalversion
+++ b/scripts/setlocalversion
@@ -58,14 +58,7 @@ fi
# Check for svn and a svn repo.
if rev=`svn info 2>/dev/null | grep '^Last Changed Rev'`; then
rev=`echo $rev | awk '{print $NF}'`
- changes=`svn status 2>/dev/null | grep '^[AMD]' | wc -l`
-
- # Are there uncommitted changes?
- if [ $changes != 0 ]; then
- printf -- '-svn%s%s' "$rev" -dirty
- else
- printf -- '-svn%s' "$rev"
- fi
+ printf -- '-svn%s' "$rev"
# All done with svn
exit