[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [GDBSERVER] make gdbbuild exit on error



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 885c1513c6743cc6d8373f973a4fa696ce5215cb
# Parent  6160da08a238110265fbb9222f812121c7260a90
[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 files changed, 2 insertions(+)

diff -r 6160da08a238 -r 885c1513c674 tools/debugger/gdb/gdbbuild
--- a/tools/debugger/gdb/gdbbuild       Wed Sep 13 15:14:24 2006 +0100
+++ b/tools/debugger/gdb/gdbbuild       Wed Sep 13 15:15:27 2006 +0100
@@ -1,4 +1,6 @@
 #!/bin/sh
+
+set -e
 
 [ "$GDB_MIRROR" ] || GDB_MIRROR="ftp://ftp.gnu.org/gnu/gdb/";
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.