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

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



# 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


 


Rackspace

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