You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@edgent.apache.org by dl...@apache.org on 2016/10/03 14:31:36 UTC
[05/16] incubator-edgent git commit: don't use "let" (specifying
/bin/bash didn't help on travis/ubuntu)
don't use "let" (specifying /bin/bash didn't help on travis/ubuntu)
Project: http://git-wip-us.apache.org/repos/asf/incubator-edgent/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-edgent/commit/cbfb8ba3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-edgent/tree/cbfb8ba3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-edgent/diff/cbfb8ba3
Branch: refs/heads/master
Commit: cbfb8ba3be616a85a31816c1a34162c76ea3ed4b
Parents: a9c0af3
Author: Dale LaBossiere <dl...@us.ibm.com>
Authored: Fri Sep 23 10:54:53 2016 -0400
Committer: Dale LaBossiere <dl...@us.ibm.com>
Committed: Tue Sep 27 16:04:08 2016 -0400
----------------------------------------------------------------------
connectors/command/src/test/scripts/sinkcmd | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-edgent/blob/cbfb8ba3/connectors/command/src/test/scripts/sinkcmd
----------------------------------------------------------------------
diff --git a/connectors/command/src/test/scripts/sinkcmd b/connectors/command/src/test/scripts/sinkcmd
index 71bc1eb..2f4228f 100644
--- a/connectors/command/src/test/scripts/sinkcmd
+++ b/connectors/command/src/test/scripts/sinkcmd
@@ -15,7 +15,7 @@ COUNTER=0
while read LINE; do
echo $LINE
# echo $0 echoing $LINE >/dev/stderr
- let COUNTER=COUNTER+1
+ COUNTER=$(($COUNTER+1))
if [ $TERM_COUNT -gt 0 -a $COUNTER -ge $TERM_COUNT ]; then
echo $0 TERMINATING after $LINE >/dev/stderr
exit 1;