summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:33:54 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:33:54 -0400
commit2b8c9b174baa64e91d582299405abde3058bb27c (patch)
tree2a30bdaa47d47c64685940c34117356c2d598954
parent5990672a3fa13ea50e53776b6a7eba74b86db483 (diff)
downloadslackbuilds-2b8c9b174baa64e91d582299405abde3058bb27c.tar.gz
development/psycopg2: Fixed for bash4.
-rw-r--r--development/psycopg2/psycopg2.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/development/psycopg2/psycopg2.SlackBuild b/development/psycopg2/psycopg2.SlackBuild
index f56b2dd639..fc4744fcd7 100644
--- a/development/psycopg2/psycopg2.SlackBuild
+++ b/development/psycopg2/psycopg2.SlackBuild
@@ -47,8 +47,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 AUTHORS ChangeLog LICENSE PKG-INFO README doc/*.txt \