summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:39:19 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:39:19 -0400
commiteb3f7ac45cfeff9d90da11cb3bf858e63d7f8214 (patch)
treeaeffc26ed7ac8671ad65faaf34c1ad437761ac7f
parentc6c584b324ecb3bcf9a2b30e13549ca9a48d32cd (diff)
downloadslackbuilds-eb3f7ac45cfeff9d90da11cb3bf858e63d7f8214.tar.gz
libraries/pytz: Fixed for bash4.
-rw-r--r--libraries/pytz/pytz.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/pytz/pytz.SlackBuild b/libraries/pytz/pytz.SlackBuild
index 84db69caa5..a102270242 100644
--- a/libraries/pytz/pytz.SlackBuild
+++ b/libraries/pytz/pytz.SlackBuild
@@ -50,8 +50,8 @@ find . \
python setup.py install --root=$PKG
-find $PKG | 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/usr/doc/$PRGNAM-$VERSION
cp -a CHANGES.txt LICENSE.txt PKG-INFO README.txt \