From mboxrd@z Thu Jan 1 00:00:00 1970 From: Horms Subject: [PATCH] [GDBSERVER] make gdbbuild exit on error Date: Mon, 4 Sep 2006 13:07:40 +0900 Message-ID: <20060904040738.GA16374@verge.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel List-Id: xen-devel@lists.xenproject.org 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(+) --- 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