aboutsummaryrefslogtreecommitdiff
path: root/network/pound/pound.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:45:28 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:45:28 -0400
commit6eafee95735ab8d01b5570b84ad08b8a52c7c6ec (patch)
tree5e805195483d67714010bef305ff4434e5dc0f99 /network/pound/pound.SlackBuild
parentc0d6b343b86ad98ba14ea7fe090431f59950e792 (diff)
network/pound: Fixed for bash4.
Diffstat (limited to 'network/pound/pound.SlackBuild')
-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 e9768e830dac..cad6507df413 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