diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2010-05-17 13:12:01 +0000 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2010-05-17 13:12:01 +0000 |
commit | 0be634747b26ea01dcd1a1652e6fe00a03553235 (patch) | |
tree | 9b416b877637593e0a3dbbbd96ecf9121020658f | |
parent | 9aaefc73dc1e74c4dda81a8ada49106e2e995a53 (diff) |
Fix bashism (Raphael Geissert, checkbashism)svn_2.2
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/branches/2.2@8637 a0bf4364-ded3-4de4-8d8a-66a801d63aff
-rwxr-xr-x | xpp/astribank_hook | 2 | ||||
-rwxr-xr-x | xpp/waitfor_xpds | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/xpp/astribank_hook b/xpp/astribank_hook index dc55d14..cc7e9d2 100755 --- a/xpp/astribank_hook +++ b/xpp/astribank_hook @@ -53,7 +53,7 @@ matched_devices() { 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 diff --git a/xpp/waitfor_xpds b/xpp/waitfor_xpds index 63f05f6..30b3ac5 100755 --- a/xpp/waitfor_xpds +++ b/xpp/waitfor_xpds @@ -65,7 +65,7 @@ do fi echo -n 1>&2 "." sleep 1 - : $((tries--)) + : $((tries-=1)) done echo "" |