summaryrefslogtreecommitdiff
path: root/development/zope.interface/zope.interface.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/zope.interface/zope.interface.SlackBuild')
-rw-r--r--development/zope.interface/zope.interface.SlackBuild5
1 files changed, 2 insertions, 3 deletions
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