xusb: Print total length of configuration descriptor
[platform/upstream/libusb.git] / bootstrap.sh
index dc56539..fc555d5 100755 (executable)
@@ -1,6 +1,10 @@
 #!/bin/sh
 
-if ! test -d m4 ; then
+set -e
+
+cd "$(dirname "$0")"
+
+if [ ! -d m4 ]; then
     mkdir m4
 fi
-autoreconf -ivf || exit 1
+exec autoreconf -ivf