From bc3b1d0534d0b9c61338d25ff97086eb91daa6e9 Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Sat, 15 Dec 2007 14:48:12 +0000 Subject: updated ctf2 and build scripts --- scripts/build.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'scripts/build.py') diff --git a/scripts/build.py b/scripts/build.py index 71995ae9..5ec7a0d7 100644 --- a/scripts/build.py +++ b/scripts/build.py @@ -87,12 +87,14 @@ os.chdir(root_dir) # download if flag_download: print "*** downloading bam source package ***" - if not fetch_file("www.teewars.com", "/files/beta/bam.zip", "bam.zip"): - bail("couldn't find source package and couldn't download it") + if not fetch_file("www.teewars.com", "/files/bam.zip", "bam.zip"): + if not fetch_file("www.teewars.com", "/files/beta/bam.zip", "bam.zip"): + bail("couldn't find source package and couldn't download it") print "*** downloading teewars source package ***" - if not fetch_file("www.teewars.com", "/files/beta/%s" % src_package, src_package): - bail("couldn't find source package and couldn't download it") + if not fetch_file("www.teewars.com", "/files/%s" % src_package, src_package): + if not fetch_file("www.teewars.com", "/files/beta/%s" % src_package, src_package): + bail("couldn't find source package and couldn't download it") # unpack print "*** unpacking source ***" -- cgit 1.4.1