aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:34:13 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:34:13 -0400
commit5f6a935866bc19326e16e7aa38521b31ac603d3b (patch)
treed1c5baa095796cde61502e3404e924bad0bb2bcc
parent8b2521a2bc07a55ff83c1690e848981b9c926f69 (diff)
development/zope.sqlalchemy: Fixed for bash4.
-rw-r--r--development/zope.sqlalchemy/zope.sqlalchemy.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/development/zope.sqlalchemy/zope.sqlalchemy.SlackBuild b/development/zope.sqlalchemy/zope.sqlalchemy.SlackBuild
index e21b5ce416377..86a727b6c722f 100644
--- a/development/zope.sqlalchemy/zope.sqlalchemy.SlackBuild
+++ b/development/zope.sqlalchemy/zope.sqlalchemy.SlackBuild
@@ -48,12 +48,8 @@ find . \
python setup.py build || exit 1
python setup.py install --root=$PKG || exit 1
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null || true
- find . | 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 \