summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:34:12 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:34:12 -0400
commit8b2521a2bc07a55ff83c1690e848981b9c926f69 (patch)
tree63bfceb5a154aecdb4a59ff50483cb315dc961dc
parent93de62fbf4293957a01f00b441821a856b400116 (diff)
downloadslackbuilds-8b2521a2bc07a55ff83c1690e848981b9c926f69.tar.gz
development/zope.interface: Fixed for bash4.
-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