compiler-discord/docker/php/run.sh

7 lines
116 B
Bash
Raw Normal View History

2019-06-15 23:38:32 +02:00
mkdir "$CODEDIR" && cd "$CODEDIR"
printf %s "$1" > program.php
php program.php || true
cd .. && rm -rf "$CODEDIR"