[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] [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@xxxxxxxxxxxx> tools/debugger/gdb/gdbbuild | 2 ++ 1 file changed, 2 insertions(+) --- 0001/tools/debugger/gdb/gdbbuild +++ work/tools/debugger/gdb/gdbbuild 2006-09-04 13:01:57.000000000 +0900 @@ -1,5 +1,7 @@ #!/bin/sh +set -x + [ "$GDB_MIRROR" ] || GDB_MIRROR="ftp://ftp.gnu.org/gnu/gdb/" rm -rf gdb-6.2.1 gdb-6.2.1-linux-i386-xen _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |