From 63cd8fed9e012340ad2534dc7929825c9aa399cd Mon Sep 17 00:00:00 2001 From: makefu Date: Mon, 22 Apr 2013 15:09:31 +0200 Subject: let -> $((COUNTER+=1)) in quest for posix compliance --- retiolum/scripts/tinc_setup/new_install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'retiolum') diff --git a/retiolum/scripts/tinc_setup/new_install.sh b/retiolum/scripts/tinc_setup/new_install.sh index 1ff42e54..9d478714 100755 --- a/retiolum/scripts/tinc_setup/new_install.sh +++ b/retiolum/scripts/tinc_setup/new_install.sh @@ -93,7 +93,7 @@ get_hostname() LCOUNTER=0 if test -e $TSTFILE; then while test -e $TSTFILE; do - let LCOUNTER=LCOUNTER+1 + $((LCOUNTER+=1)) TSTFILE=$TEMPDIR/hosts/$1$LCOUNTER done HOSTN=$1$LCOUNTER -- cgit v1.2.3