summaryrefslogtreecommitdiff
path: root/scripts/setlocalversion
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-03-26 21:58:04 +0100
committerSam Ravnborg <sam@ravnborg.org>2009-04-11 08:18:08 +0200
commit4774bb1ced60a94d83b28e5a42d4cf01b83d9b60 (patch)
tree283a6f98d80c3b366e8bd63afbe290ce3c253087 /scripts/setlocalversion
parent612c280ef2400c70ea2fd8f2e17549c95002368c (diff)
downloadlinux-3.10-4774bb1ced60a94d83b28e5a42d4cf01b83d9b60.tar.gz
linux-3.10-4774bb1ced60a94d83b28e5a42d4cf01b83d9b60.tar.bz2
linux-3.10-4774bb1ced60a94d83b28e5a42d4cf01b83d9b60.zip
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
# Is this git on svn?
if git config --get svn-remote.svn.url >/dev/null; then
- printf -- '-svn%s' "`git-svn find-rev $head`"
+ printf -- '-svn%s' "`git svn find-rev $head`"
fi
# Are there uncommitted changes?