From 4115c06a3af94675b0decb40e8b317f678df7945 Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:32:36 -0400 Subject: desktop/wmweather: Fixed for bash4. --- desktop/wmweather/wmweather.SlackBuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'desktop') 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 {} \; -- cgit v1.2.3