diff --git a/hooks/build/texlive/xelatex b/hooks/build/texlive/xelatex index 6cbe8b9..22885fc 100755 --- a/hooks/build/texlive/xelatex +++ b/hooks/build/texlive/xelatex @@ -5,7 +5,7 @@ project_name=$(tamarin_db get project_name) for tex in $project_name/*.tex do rubber --inplace --module=xelatex "$tex" - cp "${tex#.tex}.pdf" /dist/ + cp "${tex%.tex}.pdf" /dist/ # faire quelque chose pour le programme de la formation done