return exit status 1 when compilation failes
authorceriel <none@none>
Wed, 28 Jan 1987 17:26:52 +0000 (17:26 +0000)
committerceriel <none@none>
Wed, 28 Jan 1987 17:26:52 +0000 (17:26 +0000)
mach/vax4/libcc/compmodule

index 491f6d2..a794a22 100755 (executable)
@@ -1,2 +1,4 @@
-${MACH?} -I../../../h ${MACHFL?} $1 1>&2
-echo `basename $1 $2`.o
+if ${MACH?} -I../../../h ${MACHFL?} $1 1>&2
+then echo `basename $1 $2`.o
+else exit 1
+fi