summaryrefslogtreecommitdiffstats
path: root/network/libdnet
diff options
context:
space:
mode:
author David Somero <xgizzmo@slackbuilds.org>2010-05-19 02:44:10 -0400
committer David Somero <xgizzmo@slackbuilds.org>2010-05-19 02:44:10 -0400
commit415b03afecb3cd4e9ba002f1726731b4e3a5d658 (patch)
tree7feaf9a346653f77c25b247ea2304fbc6d8c4d0b /network/libdnet
parentd2221cccf4e69e7728d89272601d5cbf1f70bd62 (diff)
downloadslackbuilds-415b03afecb3cd4e9ba002f1726731b4e3a5d658.tar.gz
slackbuilds-415b03afecb3cd4e9ba002f1726731b4e3a5d658.tar.xz
network/libdnet: Fixed for bash4.
Diffstat (limited to 'network/libdnet')
-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 f8e77865f6..dec8043aba 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 {} \;