Fournir le chemin des fichiers en argument

This commit is contained in:
Benjamin Bohard 2022-04-14 08:45:31 +02:00
parent 945b3da9ad
commit 63147ad374
1 changed files with 2 additions and 2 deletions

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/