compiler-discord/docker/c/run.sh
1computer1 d25e0be634 Use less predicatable folder names
This removes the count
2019-05-20 20:34:51 -04:00

6 lines
123 B
Bash

mkdir "$CODEDIR" && cd "$CODEDIR"
echo "$1" > program.c
gcc program.c -o program && ./program
cd .. && rm -rf "$CODEDIR"