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