Fournir le chemin des fichiers en argument

This commit is contained in:
Benjamin Bohard 2022-04-14 08:45:31 +02:00
parent 7b2644b953
commit d4547175da

View File

@ -1,8 +1,8 @@
#!/usr/bin/env bash
pushd /src
project_name=$(tamarin_db get project_name)
for tex in presentations/$project_name/**/*.tex
document_root=${PROJECT}
for tex in ./presentations/${document_root}/*.tex
do
rubber --inplace --module=xelatex "$tex"
cp "${tex%.tex}.pdf" /dist/