From ee089f2e658472e0b0881064a366236ce9fa38be Mon Sep 17 00:00:00 2001 From: Chris Dickens Date: Tue, 18 Aug 2020 09:28:27 -0700 Subject: [PATCH] Autotools: Use built-in shell tests and exec autoreconf Signed-off-by: Chris Dickens --- autogen.sh | 2 +- bootstrap.sh | 6 ++++-- libusb/version_nano.h | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/autogen.sh b/autogen.sh index 24f39ee..62d68e5 100755 --- a/autogen.sh +++ b/autogen.sh @@ -3,6 +3,6 @@ set -e ./bootstrap.sh -if test -z "$NOCONFIGURE"; then +if [ -z "$NOCONFIGURE" ]; then exec ./configure --enable-examples-build --enable-tests-build "$@" fi diff --git a/bootstrap.sh b/bootstrap.sh index dc56539..cfd2b45 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -1,6 +1,8 @@ #!/bin/sh -if ! test -d m4 ; then +set -e + +if [ ! -d m4 ]; then mkdir m4 fi -autoreconf -ivf || exit 1 +exec autoreconf -ivf diff --git a/libusb/version_nano.h b/libusb/version_nano.h index dfaf221..3951592 100644 --- a/libusb/version_nano.h +++ b/libusb/version_nano.h @@ -1 +1 @@ -#define LIBUSB_NANO 11538 +#define LIBUSB_NANO 11539 -- 2.7.4