Avoid filename conflicts and cleanup files after

This commit is contained in:
1computer1 2019-05-14 20:21:34 -04:00
parent 808066db94
commit 82eff621bf
21 changed files with 87 additions and 3 deletions

View file

@ -1,3 +1,5 @@
mkdir "$COUNT" && cd "$COUNT"
echo "$1" > program.pas
# fpc does not use stderr, ld however does, capture both
@ -9,3 +11,5 @@ else
echo "$res"
exit 1
fi
cd .. && rm -rf "$COUNT"