From c74fe3ab703a28c6d8c3755213e3736c5d1eb35e Mon Sep 17 00:00:00 2001 From: Ludovic Rousseau Date: Fri, 4 May 2012 16:56:00 +0100 Subject: Autotools: Use "set -e" to exit on the first error * The script will not continue if something fails (like a command not found) --- bootstrap.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bootstrap.sh') diff --git a/bootstrap.sh b/bootstrap.sh index 3e9574a..4f95257 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -1,5 +1,7 @@ #!/bin/sh +set -e + # use libtoolize if available, otherwise look for glibtoolize (darwin) if (libtoolize --version) < /dev/null > /dev/null 2>&1; then LIBTOOLIZE=libtoolize -- cgit v1.2.1