aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/setlocalversion
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-03-26 16:58:04 -0400
committerSam Ravnborg <sam@ravnborg.org>2009-04-11 02:18:08 -0400
commit4774bb1ced60a94d83b28e5a42d4cf01b83d9b60 (patch)
tree283a6f98d80c3b366e8bd63afbe290ce3c253087 /scripts/setlocalversion
parent612c280ef2400c70ea2fd8f2e17549c95002368c (diff)
kbuild: use git svn instead of git-svn in setlocalversion
Use the correct git <subcmd> syntax instead of the deprecated git-<subcmd>. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'scripts/setlocalversion')
-rwxr-xr-xscripts/setlocalversion2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/setlocalversion b/scripts/setlocalversion
index f1c4b35bc32..47e75b69a2e 100755
--- a/scripts/setlocalversion
+++ b/scripts/setlocalversion
@@ -21,7 +21,7 @@ if head=`git rev-parse --verify --short HEAD 2>/dev/null`; then
21 21
22 # Is this git on svn? 22 # Is this git on svn?
23 if git config --get svn-remote.svn.url >/dev/null; then 23 if git config --get svn-remote.svn.url >/dev/null; then
24 printf -- '-svn%s' "`git-svn find-rev $head`" 24 printf -- '-svn%s' "`git svn find-rev $head`"
25 fi 25 fi
26 26
27 # Are there uncommitted changes? 27 # Are there uncommitted changes?