bootstrap: stop execution upon error

When tools are not installed, exit immediately. This makes
the error messages clearer.

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
This commit is contained in:
Øyvind Harboe 2009-12-04 09:50:55 +01:00
parent c65d94f7d0
commit 146e841fc9
1 changed files with 3 additions and 0 deletions

View File

@ -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