diff options
author | Doug Evans <dje@google.com> | 1998-01-16 00:23:38 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 1998-01-16 00:23:38 +0000 |
commit | 3bdf92bdc82d41bcef037e85258d098d96eab4e9 (patch) | |
tree | 00516c7caa6011f50677e8ec40a0e56344df8cf2 | |
parent | 9121b102149ac77f919934e443f1e93d31574f43 (diff) | |
download | binutils-3bdf92bdc82d41bcef037e85258d098d96eab4e9.tar.gz binutils-3bdf92bdc82d41bcef037e85258d098d96eab4e9.tar.bz2 binutils-3bdf92bdc82d41bcef037e85258d098d96eab4e9.zip |
Use `set -e' to behave like `make'.
-rw-r--r-- | opcodes/cgen.sh | 3 |
1 files changed, 3 insertions, 0 deletions
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 |