summaryrefslogtreecommitdiffstats
path: root/libraries
diff options
context:
space:
mode:
author David Somero <xgizzmo@slackbuilds.org>2010-05-19 02:39:21 -0400
committer David Somero <xgizzmo@slackbuilds.org>2010-05-19 02:39:21 -0400
commit6342750e6aa3ad489dde77357277ec1217107b4c (patch)
treee08df19173c1a2703bce830507312d14a0283763 /libraries
parent006789261482ef7c73851cdb96cb28589ca39715 (diff)
downloadslackbuilds-6342750e6aa3ad489dde77357277ec1217107b4c.tar.gz
slackbuilds-6342750e6aa3ad489dde77357277ec1217107b4c.tar.xz
libraries/pyxdg: Fixed for bash4.
Diffstat (limited to 'libraries')
-rw-r--r--libraries/pyxdg/pyxdg.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/pyxdg/pyxdg.SlackBuild b/libraries/pyxdg/pyxdg.SlackBuild
index b16e8ec5ff..8f2c319a33 100644
--- a/libraries/pyxdg/pyxdg.SlackBuild
+++ b/libraries/pyxdg/pyxdg.SlackBuild
@@ -61,12 +61,8 @@ find . \
python setup.py install --root $PKG
-( 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 AUTHORS ChangeLog COPYING INSTALL PKG-INFO README TODO \