summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:42:43 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:42:43 -0400
commitcf8d6400ec6d1f8afad4cb4622d09e1cc09c4cea (patch)
tree0785da22ffb10cf52ba0909a45bc4706cdb7015f /network
parent83866a3496e4cfd0f1ae26d0aee47f857d837a98 (diff)
downloadslackbuilds-cf8d6400ec6d1f8afad4cb4622d09e1cc09c4cea.tar.gz
network/darkstat: Fixed for bash4.
Diffstat (limited to 'network')
-rw-r--r--network/darkstat/darkstat.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/network/darkstat/darkstat.SlackBuild b/network/darkstat/darkstat.SlackBuild
index 2550d15c18..f5125d869f 100644
--- a/network/darkstat/darkstat.SlackBuild
+++ b/network/darkstat/darkstat.SlackBuild
@@ -55,12 +55,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 {} \;