From 37a7b1e0457a0ceec2a5bad4473000f81ef530dd Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Wed, 13 Sep 2006 15:15:27 +0100 Subject: [GDBSERVER] make gdbbuild exit on error If an error occurs, such as wget failing because the site (or proxy) is unavailable, the script will now terminate, rather than trying to soldier on without any real hope of success. mkbuildtree should really get the same treatment, but that can wait for another day. Signed-Off-By: Simon Horman --- tools/debugger/gdb/gdbbuild | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/debugger') diff --git a/tools/debugger/gdb/gdbbuild b/tools/debugger/gdb/gdbbuild index 419adab61d..ba7fd7c68a 100755 --- a/tools/debugger/gdb/gdbbuild +++ b/tools/debugger/gdb/gdbbuild @@ -1,5 +1,7 @@ #!/bin/sh +set -e + [ "$GDB_MIRROR" ] || GDB_MIRROR="ftp://ftp.gnu.org/gnu/gdb/" rm -rf gdb-6.2.1 gdb-6.2.1-linux-i386-xen -- cgit v1.2.3