summaryrefslogtreecommitdiff
path: root/deploy.sh
diff options
context:
space:
mode:
Diffstat (limited to 'deploy.sh')
-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"
+