[svn-commits] tzafrir: tools/trunk r8638 - in /tools/trunk: ./ xpp/
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Mon May 17 08:26:27 CDT 2010
Author: tzafrir
Date: Mon May 17 08:26:22 2010
New Revision: 8638
URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=8638
Log:
Fix bashism (Raphael Geissert, checkbashism)
Modified:
tools/trunk/ (props changed)
tools/trunk/xpp/astribank_hook
tools/trunk/xpp/waitfor_xpds
Propchange: tools/trunk/
------------------------------------------------------------------------------
svn:mergeinfo = /tools/branches/2.2:8637
Modified: tools/trunk/xpp/astribank_hook
URL: http://svnview.digium.com/svn/dahdi/tools/trunk/xpp/astribank_hook?view=diff&rev=8638&r1=8637&r2=8638
==============================================================================
--- tools/trunk/xpp/astribank_hook (original)
+++ tools/trunk/xpp/astribank_hook Mon May 17 08:26:22 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/trunk/xpp/waitfor_xpds
URL: http://svnview.digium.com/svn/dahdi/tools/trunk/xpp/waitfor_xpds?view=diff&rev=8638&r1=8637&r2=8638
==============================================================================
--- tools/trunk/xpp/waitfor_xpds (original)
+++ tools/trunk/xpp/waitfor_xpds Mon May 17 08:26:22 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