diff options
author | Øyvind Harboe <oyvind.harboe@zylin.com> | 2009-12-04 09:50:55 +0100 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2009-12-04 12:46:45 +0100 |
commit | 146e841fc920e1caea702ef42e2088244b9b8464 (patch) | |
tree | 3315232ffe9576449c53f9ee80cd7f037a0a14f5 /bootstrap | |
parent | c65d94f7d0e0c511794ea1f42ddf01e66f97e236 (diff) |
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>
Diffstat (limited to 'bootstrap')
-rwxr-xr-x | bootstrap | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |