[svn-commits] tzafrir: branch tools/2.2 r8637 - /tools/branches/2.2/xpp/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon May 17 08:12:04 CDT 2010


Author: tzafrir
Date: Mon May 17 08:12:01 2010
New Revision: 8637

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=8637
Log:
Fix bashism (Raphael Geissert, checkbashism)

Modified:
    tools/branches/2.2/xpp/astribank_hook
    tools/branches/2.2/xpp/waitfor_xpds

Modified: tools/branches/2.2/xpp/astribank_hook
URL: http://svnview.digium.com/svn/dahdi/tools/branches/2.2/xpp/astribank_hook?view=diff&rev=8637&r1=8636&r2=8637
==============================================================================
--- tools/branches/2.2/xpp/astribank_hook (original)
+++ tools/branches/2.2/xpp/astribank_hook Mon May 17 08:12:01 2010
@@ -53,7 +53,7 @@
 		lineno=`clean_lines | egrep -n "^${label}$|^@${connector}$" | cut -d: -f1`
 		if [ "$lineno" != "" ]; then
 			#echo "$xbus: $XPPORDER_CONF:$lineno -- Match ${label} @${connector}" | $LOGGER
-			echo -e "${xbus}\t${label}"
+			printf "${xbus}\t${label}\n"
 		else
 			echo "${xbus}: ${label} @${connector} not found in $XPPORDER_CONF: Ignore($ACTION)" | $LOGGER
 		fi

Modified: tools/branches/2.2/xpp/waitfor_xpds
URL: http://svnview.digium.com/svn/dahdi/tools/branches/2.2/xpp/waitfor_xpds?view=diff&rev=8637&r1=8636&r2=8637
==============================================================================
--- tools/branches/2.2/xpp/waitfor_xpds (original)
+++ tools/branches/2.2/xpp/waitfor_xpds Mon May 17 08:12:01 2010
@@ -65,7 +65,7 @@
 	fi
 	echo -n 1>&2 "."
 	sleep 1
-	: $((tries--))
+	: $((tries-=1))
 done
 echo ""
 




More information about the svn-commits mailing list