From c6cfbce606c63d75b73d0793a3fe16b354281c5b Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:33:39 -0400 Subject: [PATCH] development/icoutils: Fixed for bash4. --- development/icoutils/icoutils.SlackBuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/development/icoutils/icoutils.SlackBuild b/development/icoutils/icoutils.SlackBuild index 8856595b1d..57086e1633 100644 --- a/development/icoutils/icoutils.SlackBuild +++ b/development/icoutils/icoutils.SlackBuild @@ -72,12 +72,8 @@ make install DESTDIR=$PKG # Kill an empty directory rmdir $PKG/usr/share 2>/dev/null || true -( 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 {} \;