Commit 9bc1d60c authored by Pierre-antoine Comby's avatar Pierre-antoine Comby

needed a parent folder

parent d53391a7
Pipeline #991 passed with stage
in 2 minutes and 46 seconds
......@@ -4,6 +4,7 @@
find . -name "main.tex" -execdir sh -c "pwd && latexmk {} -f -pdf main.tex -e '$latex=q/latex %O -shell-escape %S/' -quiet | grep 'Latexmk'" \;
mkdir "public"
for i in `find . -maxdepth 1 -type d -regex \.\/[0-9].*?`;do
cp $i/Cours/main.pdf ./public/${i:2}.pdf;
done;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment