summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Liu <joshua.liu@sourceobby.com>2025-09-13 17:17:13 -0400
committerJoshua Liu <joshua.liu@sourceobby.com>2025-09-13 17:17:13 -0400
commit870a207520fd595b06d44453e51635fa8b3abf29 (patch)
tree96134c7f310d6ff65399d055b3d381ffa7ccf66e
parentc9d6e31375aca7c74a1f7735e5302af075db933f (diff)
bugfix: fixed an error with the for loopmaster
-rwxr-xr-xdeploy.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/deploy.sh b/deploy.sh
index befdf70..3fde734 100755
--- a/deploy.sh
+++ b/deploy.sh
@@ -30,15 +30,14 @@ cp "${cur}/assets/"*.png ${path}
echo "done"
-
# Now we modify the template files so that they point to the right directory
echo "Modifying the template files"
-templates=`ls | grep .tex`
-
-for file in 'seq $templates'
+for file in `ls | grep .tex`
do
sed -r "s/^### Insert graphicspath command here ###/\\\graphicspath {$path}/" -i $file
done
+echo "done"
+