diff fetch.py @ 32:46d5bd33311d

fix relative_to a bit
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 15 Nov 2011 11:53:13 -0800
parents 60e0e932570e
children 14c791d8db59
line wrap: on
line diff
--- a/fetch.py	Tue Nov 15 11:45:46 2011 -0800
+++ b/fetch.py	Tue Nov 15 11:53:13 2011 -0800
@@ -358,7 +358,7 @@
     assert not [i for i in args if not os.path.exists(i)]
 
     items = read_manifests(*args)
-    fetch = Fetch(fetchers, strict=options.strict)
+    fetch = Fetch(fetchers, relative_to=options.output, strict=options.strict)
 
     # download the files
     fetch.fetch(*items)