ia64/xen-unstable

changeset 11471:885c1513c674

[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 <horms@verge.net.au>
author kaf24@firebug.cl.cam.ac.uk
date Wed Sep 13 15:15:27 2006 +0100 (2006-09-13)
parents 6160da08a238
children 3e31c5e160cf
files tools/debugger/gdb/gdbbuild
line diff
     1.1 --- a/tools/debugger/gdb/gdbbuild	Wed Sep 13 15:14:24 2006 +0100
     1.2 +++ b/tools/debugger/gdb/gdbbuild	Wed Sep 13 15:15:27 2006 +0100
     1.3 @@ -1,5 +1,7 @@
     1.4  #!/bin/sh
     1.5  
     1.6 +set -e
     1.7 +
     1.8  [ "$GDB_MIRROR" ] || GDB_MIRROR="ftp://ftp.gnu.org/gnu/gdb/"
     1.9  
    1.10  rm -rf gdb-6.2.1 gdb-6.2.1-linux-i386-xen