diff options
author | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:39:24 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:39:24 -0400 |
commit | 2663a7d37fdf17a47b8288a6cf20c92ba48a1704 (patch) | |
tree | 5bd4382df1748177ff150017ad3c52aab301ea90 /libraries/rrdtool | |
parent | c362e27c26bb355b721e2ba991d884ae71294d1b (diff) |
libraries/rrdtool: Fixed for bash4.
Diffstat (limited to 'libraries/rrdtool')
-rw-r--r-- | libraries/rrdtool/rrdtool.SlackBuild | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/rrdtool/rrdtool.SlackBuild b/libraries/rrdtool/rrdtool.SlackBuild index 6752c01c2ea56..3aa5486e482cd 100644 --- a/libraries/rrdtool/rrdtool.SlackBuild +++ b/libraries/rrdtool/rrdtool.SlackBuild @@ -68,12 +68,8 @@ sed -r -i 's|/usr/share/man|/usr/man|g' bindings/perl-shared/Makefile 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 {} \; |