bootstrap: stop execution upon error
[fw/openocd] / bootstrap
index 7684dc48c11847940a44e6f13c46bcdd091d0ba0..268d07c16fc9536df4bc817ab7f2d99f8dbeec99 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -1,6 +1,9 @@
 #!/bin/sh -e
 # Run the autotools bootstrap sequence to create the configure script
 
+# Stop execution as soon as we have an unknown command 
+set -e
+
 if libtoolize --version >/dev/null 2>&1; then
        libtoolize="libtoolize"
 elif glibtoolize --version >/dev/null 2>&1; then