summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2016-03-17 18:49:58 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2016-03-17 18:49:58 -0700
commit90268876f7d740e5b7dcfd079168f248a337791a (patch)
tree1855f60c22da0746f845c3e6be101d2cc143a74b /var
parent63f9f4291aedf0871c75e5aed31a5625fe9c4613 (diff)
downloadspack-90268876f7d740e5b7dcfd079168f248a337791a.tar.gz
spack-90268876f7d740e5b7dcfd079168f248a337791a.tar.bz2
spack-90268876f7d740e5b7dcfd079168f248a337791a.tar.xz
spack-90268876f7d740e5b7dcfd079168f248a337791a.zip
Change sanity_check_[file|dir] to sanity_check_is_[file|dir], per #554
- Add documentation as well.
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/libelf/package.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/libelf/package.py b/var/spack/repos/builtin/packages/libelf/package.py
index 0fcb56c164..9f16708af5 100644
--- a/var/spack/repos/builtin/packages/libelf/package.py
+++ b/var/spack/repos/builtin/packages/libelf/package.py
@@ -38,8 +38,7 @@ class Libelf(Package):
provides('elf')
- sanity_check_files = ['include/libelf.h']
- sanity_check_dirs = ['lib']
+ sanity_check_is_file = 'include/libelf.h'
def install(self, spec, prefix):
configure("--prefix=" + prefix,