Install all the cli tools from all the sub-directories (#6705)
* Install all the cli tools from all the sub-directories * Satisfy pep8
This commit is contained in:
parent
8ed1c84539
commit
ea6b6ef1ff
@ -96,8 +96,13 @@ def install(self, spec, prefix):
|
||||
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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user