diff options
author | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:41:44 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:41:44 -0400 |
commit | 6f91ff03e04144f3cce36e710ddd16f58941b803 (patch) | |
tree | fa59e9e2f5ec7583b3b351214541a9a9ce33825e | |
parent | 42cbcd31f31dfca08261cfeb89f3d2bf0f56d66e (diff) |
network/3proxy: Fixed for bash4.
-rw-r--r-- | network/3proxy/3proxy.SlackBuild | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/network/3proxy/3proxy.SlackBuild b/network/3proxy/3proxy.SlackBuild index ea5c3efed9f3..3b2da5ff7645 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 {} \; |