summaryrefslogtreecommitdiffstats
path: root/network
diff options
context:
space:
mode:
author David Somero2010-05-19 08:45:28 +0200
committer David Somero2010-05-19 08:45:28 +0200
commit6eafee95735ab8d01b5570b84ad08b8a52c7c6ec (patch)
tree5e805195483d67714010bef305ff4434e5dc0f99 /network
parentc0d6b343b86ad98ba14ea7fe090431f59950e792 (diff)
downloadslackbuilds-6eafee95735ab8d01b5570b84ad08b8a52c7c6ec.tar.gz
network/pound: Fixed for bash4.
Diffstat (limited to 'network')
-rw-r--r--network/pound/pound.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/network/pound/pound.SlackBuild b/network/pound/pound.SlackBuild
index e9768e830d..cad6507df4 100644
--- a/network/pound/pound.SlackBuild
+++ b/network/pound/pound.SlackBuild
@@ -77,12 +77,8 @@ CXXFLAGS="$SLKCFLAGS" \
make all
make install DESTDIR=$PKG
-( 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
-)
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
# Fix up some ownership and permissions
chown -R root:root $PKG