Autotools: Use built-in shell tests and exec autoreconf
authorChris Dickens <christopher.a.dickens@gmail.com>
Tue, 18 Aug 2020 16:28:27 +0000 (09:28 -0700)
committerChris Dickens <christopher.a.dickens@gmail.com>
Tue, 18 Aug 2020 16:28:27 +0000 (09:28 -0700)
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
autogen.sh
bootstrap.sh
libusb/version_nano.h

index 24f39ee..62d68e5 100755 (executable)
@@ -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
index dc56539..cfd2b45 100755 (executable)
@@ -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
index dfaf221..3951592 100644 (file)
@@ -1 +1 @@
-#define LIBUSB_NANO 11538
+#define LIBUSB_NANO 11539