Enable loop.sh commands
This commit is contained in:
parent
4ff45e8535
commit
ce27470a87
8
loop.sh
8
loop.sh
|
@ -17,13 +17,13 @@ for svg in "${1}"*.svg ; do
|
|||
name=`echo "${filename}" | cut -d'.' -f1`
|
||||
num=`echo "${name}" | awk -F'_' '{print $(NF)}'`
|
||||
echo "Drawing $svg file..."
|
||||
#bash position.sh set
|
||||
#ax guides/guide_marks.svg
|
||||
bash position.sh set
|
||||
ax guides/guide_marks.svg
|
||||
number=`mktemp`.svg
|
||||
node ./numbers/ -n "${num}" -o "${number}"
|
||||
#ax "${number}"
|
||||
ax "${number}"
|
||||
rm -f "${number}"
|
||||
#bash position.sh reset
|
||||
bash position.sh reset
|
||||
echo "Are you ready to continue? (yes/no)"
|
||||
read input
|
||||
if [ "$input" != "n" ] && [ "$input" != "no" ]
|
||||
|
|
Loading…
Reference in New Issue