History

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

Mike Frysinger committed 17 years ago

Commit d21d52d1 parent d2f8d7e1 file · +1 −8Browse files

Showing the changes to scripts (1 of 1 file). Show all

Unified · Split

scripts/setlocalversion+1−8
@@ -58,14 +58,7 @@ fi · 57 unmodified lines
5858 # Check for svn and a svn repo.
5959 if rev=`svn info 2>/dev/null | grep '^Last Changed Rev'`; then
6060 rev=`echo $rev | awk '{print $NF}'`
61− changes=`svn status 2>/dev/null | grep '^[AMD]' | wc -l`
62−
63− # Are there uncommitted changes?
64− if [ $changes != 0 ]; then
65− printf -- '-svn%s%s' "$rev" -dirty
66− else
67− printf -- '-svn%s' "$rev"
68− fi
61+ printf -- '-svn%s' "$rev"
6962
7063 # All done with svn
7164 exit

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t