From 146e841fc920e1caea702ef42e2088244b9b8464 Mon Sep 17 00:00:00 2001 From: Øyvind Harboe Date: Fri, 4 Dec 2009 09:50:55 +0100 Subject: bootstrap: stop execution upon error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When tools are not installed, exit immediately. This makes the error messages clearer. Signed-off-by: Øyvind Harboe --- bootstrap | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bootstrap') diff --git a/bootstrap b/bootstrap index 7684dc48..268d07c1 100755 --- a/bootstrap +++ b/bootstrap @@ -1,6 +1,9 @@ #!/bin/sh -e # Run the autotools bootstrap sequence to create the configure script +# Stop execution as soon as we have an unknown command +set -e + if libtoolize --version >/dev/null 2>&1; then libtoolize="libtoolize" elif glibtoolize --version >/dev/null 2>&1; then -- cgit v1.2.3