aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--opcodes/cgen.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/opcodes/cgen.sh b/opcodes/cgen.sh
index 9c904ae..f6171f4 100644
--- a/opcodes/cgen.sh
+++ b/opcodes/cgen.sh
@@ -4,6 +4,9 @@
# We store the generated files in the source directory until we decide to
# ship a scheme with gdb/binutils. Maybe we never will.
+# We want to behave like make, any error forces us to stop.
+set -e
+
srcdir=$1
cgendir=$2
cgenflags=$3