From 77efd920aaa2c8d1aaa943e51f2b48e21b9303bb Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:30:40 -0400 Subject: [PATCH] academic/mpqc: Fixed for bash4. --- academic/mpqc/mpqc.SlackBuild | 8 ++------ 1 file 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 {} \;