From 8b2521a2bc07a55ff83c1690e848981b9c926f69 Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:34:12 -0400 Subject: development/zope.interface: Fixed for bash4. --- development/zope.interface/zope.interface.SlackBuild | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'development') diff --git a/development/zope.interface/zope.interface.SlackBuild b/development/zope.interface/zope.interface.SlackBuild index 8933d32b26..f1e6cb6752 100644 --- a/development/zope.interface/zope.interface.SlackBuild +++ b/development/zope.interface/zope.interface.SlackBuild @@ -33,9 +33,8 @@ find . \ python setup.py install --root=$PKG -( cd $PKG - 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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a CHANGES.txt PKG-INFO README.txt $PKG/usr/doc/$PRGNAM-$VERSION -- cgit v1.2.3