aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:44:10 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:44:10 -0400
commit415b03afecb3cd4e9ba002f1726731b4e3a5d658 (patch)
tree7feaf9a346653f77c25b247ea2304fbc6d8c4d0b
parentd2221cccf4e69e7728d89272601d5cbf1f70bd62 (diff)
network/libdnet: Fixed for bash4.
-rw-r--r--network/libdnet/libdnet.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/network/libdnet/libdnet.SlackBuild b/network/libdnet/libdnet.SlackBuild
index f8e77865f6cf..dec8043aba02 100644
--- a/network/libdnet/libdnet.SlackBuild
+++ b/network/libdnet/libdnet.SlackBuild
@@ -72,12 +72,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 || true
-)
+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 {} \;