diff options
author | Matthew Monaco <matthew.monaco@0x01b.net> | 2012-09-29 02:23:08 -0600 |
---|---|---|
committer | David Herrmann <dh.herrmann@googlemail.com> | 2012-09-29 14:48:47 +0200 |
commit | c6c1fa5083a020b6e066aa658cb9b2c65a949e10 (patch) | |
tree | f40d851ccee72fa2fb1e094b706ecb23965646bb /autogen.sh | |
parent | bf1879901555579b119097c4dfd2dc6f9f4ab48f (diff) |
build: autogen.sh cleanup
Use "set -e" to force exit on failure and convert $* to "$@".
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1,4 +1,5 @@ #!/bin/sh -mkdir -p m4/ || exit 1 -autoreconf -i || exit 1 -./configure --enable-debug $* || exit 1 +set -e +mkdir -p m4 +autoreconf -i +./configure --enable-debug "$@" |