aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:35:42 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:35:42 -0400
commit967549899796e75a455ae99dce23d98b86303d41 (patch)
tree0fb5f88291b6ff45c61d91eb20de5d590035caf8
parent8c645e2c52ea96afe2bc53fb77ce4690b68c4328 (diff)
libraries/boolstuff: Fixed for bash4.
-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 798276837aaec..4642861653c15 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 {} \;