summaryrefslogtreecommitdiffstats
path: root/libraries/boolstuff
diff options
context:
space:
mode:
author David Somero2010-05-19 08:35:42 +0200
committer David Somero2010-05-19 08:35:42 +0200
commit967549899796e75a455ae99dce23d98b86303d41 (patch)
tree0fb5f88291b6ff45c61d91eb20de5d590035caf8 /libraries/boolstuff
parent8c645e2c52ea96afe2bc53fb77ce4690b68c4328 (diff)
downloadslackbuilds-967549899796e75a455ae99dce23d98b86303d41.tar.gz
libraries/boolstuff: Fixed for bash4.
Diffstat (limited to 'libraries/boolstuff')
-rw-r--r--libraries/boolstuff/boolstuff.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/boolstuff/boolstuff.SlackBuild b/libraries/boolstuff/boolstuff.SlackBuild
index 798276837a..4642861653 100644
--- a/libraries/boolstuff/boolstuff.SlackBuild
+++ b/libraries/boolstuff/boolstuff.SlackBuild
@@ -53,12 +53,8 @@ LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \
make
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 {} \;