summaryrefslogtreecommitdiffstats
path: root/system/bonnie++
diff options
context:
space:
mode:
author David Somero2010-05-19 08:47:59 +0200
committer David Somero2010-05-19 08:47:59 +0200
commita3053d025eda2752d698f3f6d8c7a5aaa3ab302a (patch)
treea694602b4826ef3400a6cdd2e14e174337ca2c55 /system/bonnie++
parente5dd421df5bd1526a9ae69dd3958bafe4a9510bf (diff)
downloadslackbuilds-a3053d025eda2752d698f3f6d8c7a5aaa3ab302a.tar.gz
system/bonnie++: Fixed for bash4.
Diffstat (limited to 'system/bonnie++')
-rw-r--r--system/bonnie++/bonnie++.SlackBuild8
1 files 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 {} \;