diff options
author | Ludovic Rousseau <ludovic.rousseau@gmail.com> | 2012-05-04 16:56:00 +0100 |
---|---|---|
committer | Pete Batard <pete@akeo.ie> | 2012-05-04 23:03:46 +0100 |
commit | c74fe3ab703a28c6d8c3755213e3736c5d1eb35e (patch) | |
tree | d8f37f7fcc63b131cac4d2f1b220420c09c5a79b /bootstrap.sh | |
parent | 2a24daca5e57f3d26741af8694970f02a7a07706 (diff) | |
download | libusb-c74fe3ab703a28c6d8c3755213e3736c5d1eb35e.tar.gz |
Autotools: Use "set -e" to exit on the first error
* The script will not continue if something fails (like a command not found)
Diffstat (limited to 'bootstrap.sh')
-rwxr-xr-x | bootstrap.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bootstrap.sh b/bootstrap.sh index 3e9574a..4f95257 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -1,5 +1,7 @@ #!/bin/sh +set -e + # use libtoolize if available, otherwise look for glibtoolize (darwin) if (libtoolize --version) < /dev/null > /dev/null 2>&1; then LIBTOOLIZE=libtoolize |