This works on desktop

This commit is contained in:
Matt McWilliams 2021-11-29 11:38:24 -05:00
parent da7d78cd0a
commit 5c9e4dd8e5
1 changed files with 3 additions and 3 deletions

View File

@ -31,7 +31,7 @@ else
for svg in "${1}"*.svg ; do
if [[ ${c} -lt ${2} ]]; then
echo $c
let "c=c+1"
c=$((c+1))
continue
fi
filename=`basename "${svg}"`
@ -44,8 +44,8 @@ fi
i=0
#files in dir
for svg in "${1}"*.svg ; do
if [[ "${2}" != "" ]] && [[ ${i} -lt ${2} ]]; then
let "i=i+1"
if [[ "${2}" != "" ]] && [[ ${2} -ne 0 ]] && [[ ${i} -lt ${2} ]]; then
i=$((i+1))
continue
fi
filename=`basename "${svg}"`