diff options
author | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:42:43 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:42:43 -0400 |
commit | cf8d6400ec6d1f8afad4cb4622d09e1cc09c4cea (patch) | |
tree | 0785da22ffb10cf52ba0909a45bc4706cdb7015f | |
parent | 83866a3496e4cfd0f1ae26d0aee47f857d837a98 (diff) |
network/darkstat: Fixed for bash4.
-rw-r--r-- | network/darkstat/darkstat.SlackBuild | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/network/darkstat/darkstat.SlackBuild b/network/darkstat/darkstat.SlackBuild index 2550d15c18229..f5125d869f16c 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 {} \; |