aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:44:08 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:44:08 -0400
commitd2221cccf4e69e7728d89272601d5cbf1f70bd62 (patch)
tree215c55424caf88f320d5ad1eb1987f00d5db8c6d
parent868878030fce52d9999d95ca0e1cbf4980443885 (diff)
network/leafnode: Fixed for bash4.
-rw-r--r--network/leafnode/leafnode.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/network/leafnode/leafnode.SlackBuild b/network/leafnode/leafnode.SlackBuild
index 806b95ec9c032..6b5dcd3103f48 100644
--- a/network/leafnode/leafnode.SlackBuild
+++ b/network/leafnode/leafnode.SlackBuild
@@ -74,12 +74,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
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
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;