summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorMatthew Monaco <matthew.monaco@0x01b.net>2012-09-29 02:23:08 -0600
committerDavid Herrmann <dh.herrmann@googlemail.com>2012-09-29 14:48:47 +0200
commitc6c1fa5083a020b6e066aa658cb9b2c65a949e10 (patch)
treef40d851ccee72fa2fb1e094b706ecb23965646bb /autogen.sh
parentbf1879901555579b119097c4dfd2dc6f9f4ab48f (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-xautogen.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/autogen.sh b/autogen.sh
index 73b976c..1278ffe 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -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 "$@"