From 00debea3a9cb92e8d20604f2c81e58962ca62332 Mon Sep 17 00:00:00 2001
From: Brian Warner <warner@lothar.com>
Date: Tue, 16 Sep 2008 22:22:04 -0700
Subject: [PATCH] Makefile: desert-island: don't re-fetch tahoe-deps.tar.gz if
 it's already there, remove the tahoe-deps/ before untarring directory to
 avoid unpacking weirdness

---
 Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index d262b5e7..6808d614 100644
--- 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
-- 
2.45.2