From: Doug Evans Date: Fri, 16 Jan 1998 00:23:38 +0000 (+0000) Subject: Use `set -e' to behave like `make'. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3bdf92bdc82d41bcef037e85258d098d96eab4e9;p=binutils-gdb.git Use `set -e' to behave like `make'. --- diff --git a/opcodes/cgen.sh b/opcodes/cgen.sh index 9c904ae8448..f6171f47aa7 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