aboutsummaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:32:34 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:32:34 -0400
commita7698b7ec6edee0889ecdd73fcf5f343cd7d8e3c (patch)
treeeb0d6de7727fd0428bf2c58c62368107809bb233 /desktop
parentd8f6cf69e5c5a63384b55bbb9a370544c4ba8652 (diff)
desktop/wmsystemtray: Fixed for bash4.
Diffstat (limited to 'desktop')
-rw-r--r--desktop/wmsystemtray/wmsystemtray.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/desktop/wmsystemtray/wmsystemtray.SlackBuild b/desktop/wmsystemtray/wmsystemtray.SlackBuild
index 3d47f39f6488e..3f8f0b0cac02a 100644
--- a/desktop/wmsystemtray/wmsystemtray.SlackBuild
+++ b/desktop/wmsystemtray/wmsystemtray.SlackBuild
@@ -54,12 +54,8 @@ CXXFLAGS="$SLKCFLAGS" \
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 || true
-)
+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 {} \;