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>__archive__
parent
c65d94f7d0
commit
146e841fc9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue