Fix release script to work with recent git versions
authorSimo Sorce <idra@samba.org>
Tue, 15 Dec 2009 14:17:25 +0000 (09:17 -0500)
committerKarolin Seeger <kseeger@samba.org>
Mon, 21 Dec 2009 09:55:17 +0000 (10:55 +0100)
(cherry picked from commit 7f956869ff7a8e481afb9db0c52a0d74d809867a)

Signed-off-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit 6fa974ec35e7c83bbef05f21ee2a20100346ba57)

lib/talloc/script/release-script.sh

index 4804f6ff58d749088ad27062955ffc4485d87cf5..fd5c1eff5db4706633d0167f25be7425fdd3ccd4 100755 (executable)
@@ -23,7 +23,7 @@ fi
 git clean -f -x -d lib/talloc
 git clean -f -x -d lib/replace
 
-curbranch=`git-branch |grep "^*" | tr -d "* "`
+curbranch=`git branch |grep "^*" | tr -d "* "`
 
 version=$1
 strver=`echo ${version} | tr "." "-"`