[asterisk-commits] trunk - r7246 /trunk/build_tools/make_svn_branch_name

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Nov 30 18:43:19 CST 2005


Author: russell
Date: Wed Nov 30 18:43:17 2005
New Revision: 7246

URL: http://svn.digium.com/view/asterisk?rev=7246&view=rev
Log:
use '=' instead of '==' for string comparisons.  /bin/bash is ok with this, but
/bin/sh is not.  (issue #5885)

Modified:
    trunk/build_tools/make_svn_branch_name

Modified: trunk/build_tools/make_svn_branch_name
URL: http://svn.digium.com/view/asterisk/trunk/build_tools/make_svn_branch_name?rev=7246&r1=7245&r2=7246&view=diff
==============================================================================
--- trunk/build_tools/make_svn_branch_name (original)
+++ trunk/build_tools/make_svn_branch_name Wed Nov 30 18:43:17 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