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 | |
parent | 2a24daca5e57f3d26741af8694970f02a7a07706 (diff) | |
download | libusbx-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)
-rwxr-xr-x | autogen.sh | 3 | ||||
-rwxr-xr-x | bootstrap.sh | 2 | ||||
-rw-r--r-- | libusb/version.h | 2 |
3 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,6 @@ #!/bin/sh + +set -e + ./bootstrap.sh ./configure --enable-maintainer-mode --enable-examples-build $* 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 diff --git a/libusb/version.h b/libusb/version.h index 2418914..0c87ebe 100644 --- a/libusb/version.h +++ b/libusb/version.h @@ -9,7 +9,7 @@ #define LIBUSB_MICRO 10 #endif #ifndef LIBUSB_NANO -#define LIBUSB_NANO 10490 +#define LIBUSB_NANO 10491 #endif /* LIBUSB_RC is the release candidate suffix. Should normally be empty. */ #ifndef LIBUSB_RC |