When tools are not installed, exit immediately. This makes
the error messages clearer.

Signed-off-by: Øyvind Harboe <oyvind.har...@zylin.com>
---
 bootstrap |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/bootstrap b/bootstrap
index 7684dc4..268d07c 100755
--- 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
-- 
1.6.3.3

_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to