[asterisk-commits] branch 1.2 - r7247
/branches/1.2/build_tools/make_svn_branch_name
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Wed Nov 30 18:44:35 CST 2005
Author: russell
Date: Wed Nov 30 18:44:34 2005
New Revision: 7247
URL: http://svn.digium.com/view/asterisk?rev=7247&view=rev
Log:
use '=' instead of '==' for string comparisons. /bin/bash is ok with this, but
/bin/sh is not. (issue #5885)
Modified:
branches/1.2/build_tools/make_svn_branch_name
Modified: branches/1.2/build_tools/make_svn_branch_name
URL: http://svn.digium.com/view/asterisk/branches/1.2/build_tools/make_svn_branch_name?rev=7247&r1=7246&r2=7247&view=diff
==============================================================================
--- branches/1.2/build_tools/make_svn_branch_name (original)
+++ branches/1.2/build_tools/make_svn_branch_name Wed Nov 30 18:44:34 2005
@@ -6,7 +6,7 @@
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 @@
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
More information about the asterisk-commits
mailing list