Added another "fix" necessary to make spack setup
work.
This commit is contained in:
@@ -260,9 +260,10 @@ def check_installed(self, spec):
|
||||
return None
|
||||
|
||||
if not os.path.isfile(spec_file_path):
|
||||
raise InconsistentInstallDirectoryError(
|
||||
'Install prefix exists but contains no spec.yaml:',
|
||||
" " + path)
|
||||
return None
|
||||
# raise InconsistentInstallDirectoryError(
|
||||
# 'Install prefix exists but contains no spec.yaml:',
|
||||
# " " + path)
|
||||
|
||||
installed_spec = self.read_spec(spec_file_path)
|
||||
if installed_spec == spec:
|
||||
|
Reference in New Issue
Block a user