summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:33:05 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:33:05 -0400
commit5dc479eaadf0f271b29d6cdb056fb7ff63faa8a3 (patch)
tree19f8a50e7612df3e82ea4e7a632156ec1ee08879
parent2844792192dd8abb15a8550069780d90dafd514d (diff)
downloadslackbuilds-5dc479eaadf0f271b29d6cdb056fb7ff63faa8a3.tar.gz
development/MySQL-python: Fixed for bash4.
-rw-r--r--development/MySQL-python/MySQL-python.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/development/MySQL-python/MySQL-python.SlackBuild b/development/MySQL-python/MySQL-python.SlackBuild
index 3c6d0657ea..93568ad95e 100644
--- a/development/MySQL-python/MySQL-python.SlackBuild
+++ b/development/MySQL-python/MySQL-python.SlackBuild
@@ -39,8 +39,8 @@ chmod -R u+w,go+r-w,a-s .
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 ChangeLog GPL HISTORY PKG-INFO README doc/*.txt \