summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:30:40 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:30:40 -0400
commit77efd920aaa2c8d1aaa943e51f2b48e21b9303bb (patch)
tree48d46fafe52f731264bb57b95a53e1de82641a18
parent78e6278aeb376fb21be3eba5fd471eb383c53951 (diff)
downloadslackbuilds-77efd920aaa2c8d1aaa943e51f2b48e21b9303bb.tar.gz
academic/mpqc: Fixed for bash4.
-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 e621a67866..4450abff98 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 {} \;