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
|
return None
|
||||||
|
|
||||||
if not os.path.isfile(spec_file_path):
|
if not os.path.isfile(spec_file_path):
|
||||||
raise InconsistentInstallDirectoryError(
|
return None
|
||||||
'Install prefix exists but contains no spec.yaml:',
|
# raise InconsistentInstallDirectoryError(
|
||||||
" " + path)
|
# 'Install prefix exists but contains no spec.yaml:',
|
||||||
|
# " " + path)
|
||||||
|
|
||||||
installed_spec = self.read_spec(spec_file_path)
|
installed_spec = self.read_spec(spec_file_path)
|
||||||
if installed_spec == spec:
|
if installed_spec == spec:
|
||||||
|
|||||||
Reference in New Issue
Block a user