WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH 2/2] gdbserver-xen: Make mirror configurable from env

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH 2/2] gdbserver-xen: Make mirror configurable from environment
From: Horms <horms@xxxxxxxxxxxx>
Date: Fri, 03 Mar 2006 10:13:38 +0900
Cc: Horms <horms@xxxxxxxxxxxx>
Delivery-date: Fri, 03 Mar 2006 10:05:34 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20060303011328.24149.59373.sendpatchset@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20060303011328.24149.59373.sendpatchset@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Horms <horms@xxxxxxxxxxxx>
# Node ID 523284fefb61d8ccf4f5366e04b4b1bf3d541788
# Parent  58cc7d3e61446f39337fb3fd340a276e16104ab2
gdbserver-xen: Make mirror configurable from environment

diff -r 58cc7d3e6144 -r 523284fefb61 tools/debugger/gdb/gdbbuild
--- a/tools/debugger/gdb/gdbbuild       Tue Feb 28 15:19:47 2006 +0900
+++ b/tools/debugger/gdb/gdbbuild       Tue Feb 28 15:21:09 2006 +0900
@@ -1,7 +1,9 @@
 #!/bin/sh
 
+[ "X$GDB_MIRROR" == "X" ] && GDB_MIRROR="ftp://ftp.gnu.org/gnu/gdb/";
+
 rm -rf gdb-6.2.1 gdb-6.2.1-linux-i386-xen
-[ -a gdb-6.2.1.tar.bz2 ] || wget -c ftp://ftp.gnu.org/gnu/gdb/gdb-6.2.1.tar.bz2
+[ -a gdb-6.2.1.tar.bz2 ] || wget -c "$GDB_MIRROR/gdb-6.2.1.tar.bz2"
 tar xjf gdb-6.2.1.tar.bz2
 
 cd gdb-6.2.1-xen-sparse

-- 
Horms

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

<Prev in Thread] Current Thread [Next in Thread>