From a936b17cb4fcef90e43e898d0971d3840da3ff94 Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:50:08 -0400 Subject: system/pcp: Fixed for bash4. --- system/pcp/pcp.SlackBuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'system/pcp/pcp.SlackBuild') diff --git a/system/pcp/pcp.SlackBuild b/system/pcp/pcp.SlackBuild index 941f80a9d726b..168c13883223e 100644 --- a/system/pcp/pcp.SlackBuild +++ b/system/pcp/pcp.SlackBuild @@ -74,12 +74,8 @@ mv $PKG/etc/rc.d/pmproxy $PKG/etc/rc.d/pmproxy.new # Install the init scripts non-executable by default chmod 0644 $PKG/etc/rc.d/* -( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \ - xargs strip --strip-unneeded 2> /dev/null - 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 {} \; -- cgit v1.2.3