summaryrefslogtreecommitdiff
path: root/desktop/wmweather
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:32:36 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:32:36 -0400
commit4115c06a3af94675b0decb40e8b317f678df7945 (patch)
treee07c384dbc18ee31a7b7a03872dced0ad25f3953 /desktop/wmweather
parentb6da95afe9fe329fb8250c9f32433b6c3e19cef4 (diff)
downloadslackbuilds-4115c06a3af94675b0decb40e8b317f678df7945.tar.gz
desktop/wmweather: Fixed for bash4.
Diffstat (limited to 'desktop/wmweather')
-rw-r--r--desktop/wmweather/wmweather.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/desktop/wmweather/wmweather.SlackBuild b/desktop/wmweather/wmweather.SlackBuild
index 8bee6530f8..a6d5ee9714 100644
--- a/desktop/wmweather/wmweather.SlackBuild
+++ b/desktop/wmweather/wmweather.SlackBuild
@@ -61,12 +61,8 @@ cd -
mv $PKG/etc/X11/WindowMaker/wmweather.conf \
$PKG/etc/X11/WindowMaker/wmweather.conf.new
-( 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 {} \;