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):
|
def cache_local(self):
|
||||||
archiveDst = join_path(os.path.abspath(spack.cache_path), self.mirror_path)
|
archiveDst = join_path(os.path.abspath(spack.cache_path), self.mirror_path)
|
||||||
mkdirp(os.path.dirname(archiveDst))
|
if not os.path.exists(archiveDst): #tmp conditional
|
||||||
# TODO: this moves the archive for URLFetchStrategy vs. a copy - edit
|
mkdirp(os.path.dirname(archiveDst))
|
||||||
# to do a move?
|
# TODO: this moves the archive for URLFetchStrategy vs. a copy -
|
||||||
self.fetcher.archive(archiveDst)
|
# edit to do a move?
|
||||||
|
self.fetcher.archive(archiveDst)
|
||||||
|
|
||||||
|
|
||||||
def expand_archive(self):
|
def expand_archive(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user