From 630654fea885ef49a0505b8b0083945c79055099 Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:31:39 -0400 Subject: business/skrooge: Fixed for bash4. --- business/skrooge/skrooge.SlackBuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'business/skrooge') diff --git a/business/skrooge/skrooge.SlackBuild b/business/skrooge/skrooge.SlackBuild index ff77105872..738965f9c8 100644 --- a/business/skrooge/skrooge.SlackBuild +++ b/business/skrooge/skrooge.SlackBuild @@ -94,12 +94,8 @@ fi mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a COPYING* $PKG/usr/doc/$PRGNAM-$VERSION -( 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 mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc -- cgit v1.2.3