Explorar o código

Run script now does not continue when compiling fails

Taddeus Kroes %!s(int64=12) %!d(string=hai) anos
pai
achega
df77f208ef
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      run

+ 3 - 3
run

@@ -7,7 +7,7 @@ fi
 CIVAS=bin32/civas
 CIVVM=bin32/civvm
 
-$CIVCC -o _tmp.s ${@:2} $1
-$CIVAS -o _tmp.out _tmp.s
+$CIVCC -o _tmp.s ${@:2} $1 &&
+$CIVAS -o _tmp.out _tmp.s &&
 $CIVVM _tmp.out
-rm _tmp.s _tmp.out
+rm -f _tmp.s _tmp.out