summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:41:44 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:41:44 -0400
commit6f91ff03e04144f3cce36e710ddd16f58941b803 (patch)
treefa59e9e2f5ec7583b3b351214541a9a9ce33825e /network
parent42cbcd31f31dfca08261cfeb89f3d2bf0f56d66e (diff)
downloadslackbuilds-6f91ff03e04144f3cce36e710ddd16f58941b803.tar.gz
network/3proxy: Fixed for bash4.
Diffstat (limited to 'network')
-rw-r--r--network/3proxy/3proxy.SlackBuild8
1 files 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 {} \;