From 6f91ff03e04144f3cce36e710ddd16f58941b803 Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:41:44 -0400 Subject: network/3proxy: Fixed for bash4. --- network/3proxy/3proxy.SlackBuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/network/3proxy/3proxy.SlackBuild b/network/3proxy/3proxy.SlackBuild index ea5c3efed9..3b2da5ff76 100644 --- a/network/3proxy/3proxy.SlackBuild +++ b/network/3proxy/3proxy.SlackBuild @@ -78,12 +78,8 @@ mkdir -p $PKG/etc/rc.d cat $CWD/rc.3proxy > $PKG/etc/rc.d/rc.3proxy.new chmod 0755 $PKG/etc/rc.d/rc.3proxy.new -( 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