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,6 +1,10 @@
if [ "$EVAL_EXPR" = "true" ]; then
csharp -e "$1"
else
mkdir "$COUNT" && cd "$COUNT"
echo "$1" > program.cs
csc program.cs >/dev/null && mono program.exe
cd .. && rm -rf "$COUNT"
fi