summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:39:24 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:39:24 -0400
commit2663a7d37fdf17a47b8288a6cf20c92ba48a1704 (patch)
tree5bd4382df1748177ff150017ad3c52aab301ea90
parentc362e27c26bb355b721e2ba991d884ae71294d1b (diff)
downloadslackbuilds-2663a7d37fdf17a47b8288a6cf20c92ba48a1704.tar.gz
libraries/rrdtool: Fixed for bash4.
-rw-r--r--libraries/rrdtool/rrdtool.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/rrdtool/rrdtool.SlackBuild b/libraries/rrdtool/rrdtool.SlackBuild
index 6752c01c2e..3aa5486e48 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 {} \;