diff --git a/compile.sh b/compile.sh index 62d34bb..968f5ea 100755 --- a/compile.sh +++ b/compile.sh @@ -9,7 +9,7 @@ find . -name "main.tex" -execdir sh -c "pwd && pdflatex -shell-escape -interact mkdir "public" for i in `find . -maxdepth 1 -type d -regex \.\/[0-9].*?`;do - cp $i/Cours/main.pdf ./public/${i:2}.pdf; + cp -f $i/Cours/main.pdf ./public/${i:2}.pdf; done; #clean up : shopt -s globstar