temporarily wrap archiving with conditional to avoid moving (this still causes a failure on the initial download)
This commit is contained in:
parent
b255f02762
commit
41a97c8f80
@ -323,10 +323,11 @@ def check(self):
|
||||
|
||||
def cache_local(self):
|
||||
archiveDst = join_path(os.path.abspath(spack.cache_path), self.mirror_path)
|
||||
mkdirp(os.path.dirname(archiveDst))
|
||||
# TODO: this moves the archive for URLFetchStrategy vs. a copy - edit
|
||||
# to do a move?
|
||||
self.fetcher.archive(archiveDst)
|
||||
if not os.path.exists(archiveDst): #tmp conditional
|
||||
mkdirp(os.path.dirname(archiveDst))
|
||||
# TODO: this moves the archive for URLFetchStrategy vs. a copy -
|
||||
# edit to do a move?
|
||||
self.fetcher.archive(archiveDst)
|
||||
|
||||
|
||||
def expand_archive(self):
|
||||
|
Loading…
Reference in New Issue
Block a user