diff options
author | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:47:59 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:47:59 -0400 |
commit | a3053d025eda2752d698f3f6d8c7a5aaa3ab302a (patch) | |
tree | a694602b4826ef3400a6cdd2e14e174337ca2c55 | |
parent | e5dd421df5bd1526a9ae69dd3958bafe4a9510bf (diff) |
system/bonnie++: Fixed for bash4.
-rw-r--r-- | system/bonnie++/bonnie++.SlackBuild | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/system/bonnie++/bonnie++.SlackBuild b/system/bonnie++/bonnie++.SlackBuild index 63a849d10bd9d..ed2a099c81335 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 {} \; |