diff --git a/loop.sh b/loop.sh index 1dd8455..7908c48 100644 --- a/loop.sh +++ b/loop.sh @@ -25,8 +25,8 @@ fi i=0 #files in dir for svg in "${1}"*.svg ; do - let "i=i+1" if [ "${2}" != "" ] && [ "${i}" != "${2}" ]; then + let "i=i+1" continue fi filename=`basename "${svg}"`