From: Simo Sorce Date: Tue, 15 Dec 2009 14:17:25 +0000 (-0500) Subject: Fix release script to work with recent git versions X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=6fa974ec35e7c83bbef05f21ee2a20100346ba57;p=samba.git Fix release script to work with recent git versions (cherry picked from commit 7f956869ff7a8e481afb9db0c52a0d74d809867a) Signed-off-by: Stefan Metzmacher --- diff --git a/lib/talloc/script/release-script.sh b/lib/talloc/script/release-script.sh index 4804f6ff58d..fd5c1eff5db 100755 --- a/lib/talloc/script/release-script.sh +++ b/lib/talloc/script/release-script.sh @@ -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 "." "-"`