Skip to content
Snippets Groups Projects
Verified Commit 58418324 authored by Tóth Miklós Tibor's avatar Tóth Miklós Tibor :shrug:
Browse files

fix

parent 0d6dc9b7
No related branches found
No related tags found
No related merge requests found
Pipeline #7955 passed
......@@ -16,7 +16,7 @@ for week in 2 3 4 5 6 7 9 10 11 13 14; do
git clean -fd
git checkout "w${week}"
if [ "$week" = "5" ]; then
if [ "$week" = "5" ] || [ "$week" = "6" ]; then
bash -c "cd ..; /tmp/merge/build.sh"
fi
......@@ -41,12 +41,12 @@ run=0
toc=0
rounds=0
while [ "$run" = "0" ] || [ "$toc" = "0" ]; do
if [ -f projlab.toc ]; then
if [ -f magic.toc ]; then
toc="1"
else
toc="0"
fi
lualatex -shell-escape projlab.tex | tee /tmp/texlog
lualatex -shell-escape magic.tex | tee /tmp/texlog
grep -vi rerunfilecheck.sty /tmp/texlog | grep -i rerun
run=$?
rounds=$((rounds+1))
......@@ -54,5 +54,4 @@ done
echo "Generated doc in $rounds round(s)"
mv projlab.pdf merged.pdf
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment