This works on desktop
This commit is contained in:
parent
da7d78cd0a
commit
5c9e4dd8e5
6
draw.sh
6
draw.sh
|
@ -31,7 +31,7 @@ else
|
||||||
for svg in "${1}"*.svg ; do
|
for svg in "${1}"*.svg ; do
|
||||||
if [[ ${c} -lt ${2} ]]; then
|
if [[ ${c} -lt ${2} ]]; then
|
||||||
echo $c
|
echo $c
|
||||||
let "c=c+1"
|
c=$((c+1))
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
filename=`basename "${svg}"`
|
filename=`basename "${svg}"`
|
||||||
|
@ -44,8 +44,8 @@ fi
|
||||||
i=0
|
i=0
|
||||||
#files in dir
|
#files in dir
|
||||||
for svg in "${1}"*.svg ; do
|
for svg in "${1}"*.svg ; do
|
||||||
if [[ "${2}" != "" ]] && [[ ${i} -lt ${2} ]]; then
|
if [[ "${2}" != "" ]] && [[ ${2} -ne 0 ]] && [[ ${i} -lt ${2} ]]; then
|
||||||
let "i=i+1"
|
i=$((i+1))
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
filename=`basename "${svg}"`
|
filename=`basename "${svg}"`
|
||||||
|
|
Loading…
Reference in New Issue