diff --git a/scripts/v2.sh b/scripts/v2.sh index 3a4e1a1..a844cc0 100644 --- a/scripts/v2.sh +++ b/scripts/v2.sh @@ -47,7 +47,7 @@ do echo "Rendering image of ${stl}..." - if [ "${FILE}" -eq "spiral"]; then + if [[ "${FILE}" == "spiral" ]]; then tmp=`mktemp` fullPath=`realpath "${stl}"` data="import(\"${fullPath}\");"