From 1caa3b6e9bd042e08eda2d605764ab8461f8f780 Mon Sep 17 00:00:00 2001 From: Pierre-antoine Comby Date: Thu, 14 Mar 2019 17:58:08 +0100 Subject: [PATCH] force copy --- compile.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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