From 9066463330f1190756f475ba92605d5f4b78272a Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:47:09 -0400 Subject: office/gnokii: Fixed for bash4. --- office/gnokii/gnokii.SlackBuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'office') diff --git a/office/gnokii/gnokii.SlackBuild b/office/gnokii/gnokii.SlackBuild index 4392052867..d78929fa4b 100644 --- a/office/gnokii/gnokii.SlackBuild +++ b/office/gnokii/gnokii.SlackBuild @@ -96,12 +96,8 @@ make install DESTDIR=$PKG \ ringtonedocsdir=/usr/doc/$PRGNAM-$VERSION/sample/ringtone \ vcaldocsdir=/usr/doc/$PRGNAM-$VERSION/sample/vCalendar \ -( 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 {} \; -- cgit v1.2.3