From 75f219424e704622b31e401058f16b784f0957a5 Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:39:42 -0400 Subject: libraries/xmonad-contrib: Fixed for bash4. --- libraries/xmonad-contrib/xmonad-contrib.SlackBuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'libraries/xmonad-contrib') diff --git a/libraries/xmonad-contrib/xmonad-contrib.SlackBuild b/libraries/xmonad-contrib/xmonad-contrib.SlackBuild index 86920a3ecc988..93a20cdefa6dd 100644 --- a/libraries/xmonad-contrib/xmonad-contrib.SlackBuild +++ b/libraries/xmonad-contrib/xmonad-contrib.SlackBuild @@ -55,12 +55,8 @@ runghc Setup.lhs haddock runghc Setup.lhs copy --destdir=$PKG runghc Setup.lhs register --gen-script -( 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 cp -a README $PKG/usr/doc/$PRGNAM-$VERSION cp -a scripts $PKG/usr/doc/$PRGNAM-$VERSION/scripts -- cgit v1.2.3