diff --git a/test.sh b/test.sh index 82936dd..1fe6b15 100755 --- a/test.sh +++ b/test.sh @@ -18,8 +18,9 @@ if [ "`git log --pretty=%H ...refs/heads/master^ | head -n 1`" != "`git ls-remot exit 0 fi + s=1 -for srvcopts in "${NM_SRVCOPTS[@]}" +for srvcopt in "${!NM_SRVCOPTS[@]}"; do do echo " [${s}] ${srvcopts~}" s=`expr $s + 1`