aboutsummaryrefslogtreecommitdiff
path: root/academic/mpqc/mpqc.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/mpqc/mpqc.SlackBuild')
-rw-r--r--academic/mpqc/mpqc.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/academic/mpqc/mpqc.SlackBuild b/academic/mpqc/mpqc.SlackBuild
index e621a678662fa..4450abff98579 100644
--- a/academic/mpqc/mpqc.SlackBuild
+++ b/academic/mpqc/mpqc.SlackBuild
@@ -62,12 +62,8 @@ make installroot=$PKG install_devel
make -C doc
make -C doc installroot=$PKG install_man
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null || true
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null
-)
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;