diff --git a/build.sh b/build.sh index 009c75a..bcd4183 100755 --- a/build.sh +++ b/build.sh @@ -76,7 +76,7 @@ if [ "$1" == "--runtime" ]; then doJob "Compiling runtime" "gcc -Idist/ runtime/voxel.c -o runtime/build/voxel" if [ "$2" == "--zip" ]; then - if [ ls -f runtime/build.zip ]; then + if [ -f runtime/build.zip ]; then rm runtime/build.zip echo "Removed old build.zip" fi