From a3053d025eda2752d698f3f6d8c7a5aaa3ab302a Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:47:59 -0400 Subject: [PATCH] system/bonnie++: Fixed for bash4. --- system/bonnie++/bonnie++.SlackBuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/system/bonnie++/bonnie++.SlackBuild b/system/bonnie++/bonnie++.SlackBuild index 63a849d10b..ed2a099c81 100644 --- a/system/bonnie++/bonnie++.SlackBuild +++ b/system/bonnie++/bonnie++.SlackBuild @@ -56,12 +56,8 @@ patch -p1 < $CWD/Makefile.in_DESTDIR.diff make MORECFLAGS="$SLKCFLAGS" 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 {} \;