summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJimmy Tang <jcftang@gmail.com>2018-01-03 02:14:39 +0000
committerAdam J. Stewart <ajstewart426@gmail.com>2018-01-02 20:14:39 -0600
commitea6b6ef1ff406bf7eb8d99d0877ebd3d3514741d (patch)
tree81da7e325008081454f7c5657f2f8bd3128cce57
parent8ed1c8453995580d1af2bed75162e06bb3ef836f (diff)
downloadspack-ea6b6ef1ff406bf7eb8d99d0877ebd3d3514741d.tar.gz
spack-ea6b6ef1ff406bf7eb8d99d0877ebd3d3514741d.tar.bz2
spack-ea6b6ef1ff406bf7eb8d99d0877ebd3d3514741d.tar.xz
spack-ea6b6ef1ff406bf7eb8d99d0877ebd3d3514741d.zip
Install all the cli tools from all the sub-directories (#6705)
* Install all the cli tools from all the sub-directories * Satisfy pep8
-rw-r--r--var/spack/repos/builtin/packages/kaldi/package.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/kaldi/package.py b/var/spack/repos/builtin/packages/kaldi/package.py
index bb2481d879..58360df08f 100644
--- a/var/spack/repos/builtin/packages/kaldi/package.py
+++ b/var/spack/repos/builtin/packages/kaldi/package.py
@@ -96,8 +96,13 @@ class Kaldi(Package): # Does not use Autotools
make()
mkdirp(prefix.bin)
- for root, dirs, files in os.walk('bin'):
+ for root, dirs, files in os.walk('.'):
for name in files:
+ if name.endswith(".so") or name.endswith(".cc") \
+ or name.endswith(".pptx"):
+ continue
+ if "configure" is name:
+ continue
if os.access(join(root, name), os.X_OK):
install(join(root, name), prefix.bin)