Uncomment all lines and add a read statement to pause after drawing first guide

This commit is contained in:
Matt McWilliams 2021-08-10 18:41:48 -04:00
parent d09782367b
commit 5ffb248e6e
1 changed files with 12 additions and 4 deletions

16
loop.sh
View File

@ -3,13 +3,21 @@
#field guide #field guide
name=`basename "${1}"` name=`basename "${1}"`
#bash position.sh set bash position.sh set
#ax guides/guide_all.svg ax guides/guide_all.svg
number=`mktemp`.svg number=`mktemp`.svg
node ./numbers/ -n "${name}" -o "${number}" node ./numbers/ -n "${name}" -o "${number}"
#ax "${number}" ax "${number}"
rm -f "${number}" rm -f "${number}"
#bash position.sh reset bash position.sh reset
read input
if [ "$input" != "n" ] && [ "$input" != "no" ]
then
echo "Starting with first frame..."
else
exit 1
fi
#files in dir #files in dir
for svg in "${1}"*.svg ; do for svg in "${1}"*.svg ; do