Makefile: desert-island: don't re-fetch tahoe-deps.tar.gz if it's already there,...
authorBrian Warner <warner@lothar.com>
Wed, 17 Sep 2008 05:22:04 +0000 (22:22 -0700)
committerBrian Warner <warner@lothar.com>
Wed, 17 Sep 2008 05:22:04 +0000 (22:22 -0700)
Makefile

index d262b5e712861f966570a4ef6ce048c6e9b3806c..6808d6140242e8effe373d4bb99c402eb9420028 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -251,7 +251,8 @@ find-trailing-spaces:
 # support/lib/ directory is gone.
 
 test-desert-island:
-       wget http://allmydata.org/source/tahoe/tarballs/tahoe-deps.tar.gz
+       test -f tahoe-deps.tar.gz || wget http://allmydata.org/source/tahoe/tarballs/tahoe-deps.tar.gz
+       rm -rf tahoe-deps
        tar xf tahoe-deps.tar.gz
        $(MAKE) 2>&1 | tee make.out
        $(PYTHON) misc/check-build.py make.out no-downloads