Browse Source

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>
tags/v0.4.0-rc1
Øyvind Harboe 12 years ago
parent
commit
146e841fc9
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      bootstrap

+ 3
- 0
bootstrap 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


Loading…
Cancel
Save