aboutsummaryrefslogtreecommitdiffstats
path: root/build_tools
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-12-01 00:43:17 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-12-01 00:43:17 +0000
commitf9d38896fe0213fde95044da7780d1fead0029f6 (patch)
tree783042fc6d1f05453cab404026f9abae3ebea5c2 /build_tools
parenta4e5a97349133265e6a89a4491c0d9828028b931 (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/trunk@7246 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'build_tools')
-rwxr-xr-xbuild_tools/make_svn_branch_name8
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