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 #!/usr/bin/env bash
pushd /src pushd /src
project_name=$(tamarin_db get project_name) document_root=${PROJECT}
for tex in presentations/$project_name/**/*.tex for tex in ./presentations/${document_root}/*.tex
do do
rubber --inplace --module=xelatex "$tex" rubber --inplace --module=xelatex "$tex"
cp "${tex%.tex}.pdf" /dist/ cp "${tex%.tex}.pdf" /dist/