Check the fetch stamp in do_fetch to prevent unnecessary redownloads (since the wget...
authorChris Larson <clarson@kergoth.com>
Tue, 10 Jun 2003 18:16:16 +0000 (18:16 +0000)
committerChris Larson <clarson@kergoth.com>
Tue, 10 Jun 2003 18:16:16 +0000 (18:16 +0000)
bin/oebuild

index eefa8ce..18cd85b 100644 (file)
@@ -154,6 +154,9 @@ def do_mrproper():
 def do_fetch():
        """download needed sources"""
 
+       if stamp_is_current('fetch', tasks['fetch']['deps']):
+               return
+
        mkdirhier(getenv("DL_DIR"))     # create file download directory
 
        note("Executing task 'fetch'")