From a3561adc1691ca56531d32772a32f8d5f115a55e Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:49:00 -0400 Subject: [PATCH] system/graveman: Fixed for bash4. --- system/graveman/graveman.SlackBuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/system/graveman/graveman.SlackBuild b/system/graveman/graveman.SlackBuild index 8e2b87888d..a718a8bf80 100644 --- a/system/graveman/graveman.SlackBuild +++ b/system/graveman/graveman.SlackBuild @@ -86,12 +86,8 @@ CXXFLAGS="$SLKCFLAGS" \ make || exit 1 make install DESTDIR=$PKG || exit 1 -( 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 {} \;