From 0b9c41b04d59234ac64b094a44f3933a16f7f4b3 Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:33:52 -0400 Subject: [PATCH] development/polyml: Fixed for bash4. --- development/polyml/polyml.SlackBuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/development/polyml/polyml.SlackBuild b/development/polyml/polyml.SlackBuild index 1d97c0ef87..b98dd334dc 100644 --- a/development/polyml/polyml.SlackBuild +++ b/development/polyml/polyml.SlackBuild @@ -54,12 +54,8 @@ make make install DESTDIR=$PKG # Strip binaries and libraries -( 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 || true -) +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true # Compress man pages ( cd $PKG/usr/man