fix typo in path for sanity check (#34117)

- typo breaks install
This commit is contained in:
Hans Fangohr 2022-11-28 17:49:57 -06:00 committed by GitHub
parent 49cda811fc
commit 56f9c76394
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -118,7 +118,7 @@ class Oommf(Package):
# sanity checks: (https://spack.readthedocs.io/en/latest/packaging_guide.html#checking-an-installation)
sanity_check_is_file = [join_path("bin", "oommf.tcl")]
sanity_check_is_dir = ["usr/bin/oommf/app", "usr/bin/oommf/app/oxs/eamples"]
sanity_check_is_dir = ["usr/bin/oommf/app", "usr/bin/oommf/app/oxs/examples"]
def get_oommf_source_root(self):
"""If we download the source from NIST, then 'oommf.tcl' is in the root directory.