From: Russell Bryant Date: Thu, 1 Dec 2005 00:43:17 +0000 (+0000) Subject: use '=' instead of '==' for string comparisons. /bin/bash is ok with this, but X-Git-Tag: 1.4.0-beta1~3239 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b994fcae8baa87d1f13ad69d5143ffd41e0e7758;p=thirdparty%2Fasterisk.git use '=' instead of '==' for string comparisons. /bin/bash is ok with this, but /bin/sh is not. (issue #5885) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7246 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/build_tools/make_svn_branch_name b/build_tools/make_svn_branch_name index e24ba44ccb..7508410197 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