diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-12-01 00:44:34 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-12-01 00:44:34 +0000 |
commit | 1c300f59bbbfc59d9fcc1c3b370da1a3906378bc (patch) | |
tree | 5958660bcfcfaf773c2cde8e5a25cb19493ac9db /build_tools | |
parent | cee7fcb07d4d4ed527fcd32526c537d604e6ad4c (diff) |
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
Diffstat (limited to 'build_tools')
-rwxr-xr-x | build_tools/make_svn_branch_name | 8 |
1 files changed, 4 insertions, 4 deletions
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 |