Merge branch 'fix-archive' of https://github.com/mwilliammyers/spack into mwilliammyers-fix-archive
This commit is contained in:
commit
6bac1598f6
@ -307,9 +307,6 @@ def archive(self, destination):
|
||||
if not self.archive_file:
|
||||
raise NoArchiveFileError("Cannot call archive() before fetching.")
|
||||
|
||||
if not extension(destination) == extension(self.archive_file):
|
||||
raise ValueError("Cannot archive without matching extensions.")
|
||||
|
||||
shutil.copy(self.archive_file, destination)
|
||||
|
||||
@_needs_stage
|
||||
|
Loading…
Reference in New Issue
Block a user