aboutsummaryrefslogtreecommitdiff
path: root/desktop/wmweather
diff options
context:
space:
mode:
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 8bee6530f8d3d..a6d5ee971459c 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 {} \;