Fix issue with case check and spack -m
This commit is contained in:
parent
c8b2100630
commit
b575d008bd
@ -39,7 +39,11 @@ def pre_run():
|
|||||||
if platform.system() != "Darwin":
|
if platform.system() != "Darwin":
|
||||||
return
|
return
|
||||||
|
|
||||||
git_case_consistency_check(spack.repo.get_repo('builtin').packages_path)
|
try:
|
||||||
|
repo = spack.repo.get_repo('builtin')
|
||||||
|
git_case_consistency_check(repo.packages_path)
|
||||||
|
except spack.repository.UnknownNamespaceError:
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
def git_case_consistency_check(path):
|
def git_case_consistency_check(path):
|
||||||
|
Loading…
Reference in New Issue
Block a user