diff options
author | Mike Frysinger <vapier.adi@gmail.com> | 2009-02-05 16:13:32 +0800 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2009-02-15 12:50:07 +0100 |
commit | d21d52d4a155e36d4dc93d642cd52cb63f7ef91b (patch) | |
tree | 7f7b5fac14a00e03871a51a7df723c0714058581 /scripts/setlocalversion | |
parent | d2f8d7ee1a9b4650b4e43325b321801264f7c37a (diff) | |
download | linux-d21d52d4a155e36d4dc93d642cd52cb63f7ef91b.tar.gz linux-d21d52d4a155e36d4dc93d642cd52cb63f7ef91b.tar.bz2 linux-d21d52d4a155e36d4dc93d642cd52cb63f7ef91b.zip |
kbuild,setlocalversion: shorten the make time when using svn
Don't bother doing `svn st` as it takes a retarded amount of time when
the source is cold
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'scripts/setlocalversion')
-rwxr-xr-x | scripts/setlocalversion | 9 |
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 |