From 1905b48ba786e95682c800b65e4223b300ce129d Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:32:24 -0400 Subject: [PATCH] desktop/wmMoonClock: Fixed for bash4. --- desktop/wmMoonClock/wmMoonClock.SlackBuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/desktop/wmMoonClock/wmMoonClock.SlackBuild b/desktop/wmMoonClock/wmMoonClock.SlackBuild index e7b64ec6fa..7cab0672de 100644 --- a/desktop/wmMoonClock/wmMoonClock.SlackBuild +++ b/desktop/wmMoonClock/wmMoonClock.SlackBuild @@ -51,12 +51,8 @@ cd Src make install DESTDIR=$PKG/usr cd - -( 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 {} \;