summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <root@pigstarter.de>2013-04-22 15:09:31 +0200
committermakefu <root@pigstarter.de>2013-04-22 15:09:31 +0200
commit63cd8fed9e012340ad2534dc7929825c9aa399cd (patch)
treeba1ead4605c46fa7f678499895ba48b689f0d505
parent35acaff77b9495fc7f10dd4312e2173de21d26ca (diff)
let -> $((COUNTER+=1)) in quest for posix compliance
-rwxr-xr-xretiolum/scripts/tinc_setup/new_install.sh2
1 files changed, 1 insertions, 1 deletions
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