summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Rousseau <ludovic.rousseau@gmail.com>2012-05-04 16:56:00 +0100
committerPete Batard <pete@akeo.ie>2012-05-04 23:03:46 +0100
commitc74fe3ab703a28c6d8c3755213e3736c5d1eb35e (patch)
treed8f37f7fcc63b131cac4d2f1b220420c09c5a79b
parent2a24daca5e57f3d26741af8694970f02a7a07706 (diff)
downloadlibusbx-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-xautogen.sh3
-rwxr-xr-xbootstrap.sh2
-rw-r--r--libusb/version.h2
3 files changed, 6 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index a4b87e4..906251a 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -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