From 1c300f59bbbfc59d9fcc1c3b370da1a3906378bc Mon Sep 17 00:00:00 2001 From: russell Date: Thu, 1 Dec 2005 00:44:34 +0000 Subject: use '=' instead of '==' for string comparisons. /bin/bash is ok with this, but /bin/sh is not. (issue #5885) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@7247 f38db490-d61c-443f-a65b-d21fe96a405b --- build_tools/make_svn_branch_name | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'build_tools') diff --git a/build_tools/make_svn_branch_name b/build_tools/make_svn_branch_name index e24ba44cc..750841019 100755 --- a/build_tools/make_svn_branch_name +++ b/build_tools/make_svn_branch_name @@ -6,7 +6,7 @@ TEAM=0 REV=`svn info | grep -e 'Last Changed Rev' | awk '{print $4;}'` -if [ "${PARTS}" == "trunk" ] +if [ "${PARTS}" = "trunk" ] then echo 'trunk'-r${REV} exit 0 @@ -26,21 +26,21 @@ do continue fi - if [ "${PART}" == "branches" ] + if [ "${PART}" = "branches" ] then BRANCH=1 RESULT="branch" continue fi - if [ "${PART}" == "tags" ] + if [ "${PART}" = "tags" ] then BRANCH=1 RESULT="tag" continue fi - if [ "${PART}" == "team" ] + if [ "${PART}" = "team" ] then TEAM=1 continue -- cgit v1.2.3