summaryrefslogtreecommitdiff
path: root/libraries/simplejson/simplejson.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:39:26 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:39:26 -0400
commitc9a40e3d82552d1378630fdcf9e3d0dfd925bf5e (patch)
tree616185311fc7086eba5e9890e18d647b9f1a0e59 /libraries/simplejson/simplejson.SlackBuild
parent5e7a78ef5ac2a68f9e8f2e646b31ea2200b36022 (diff)
downloadslackbuilds-c9a40e3d82552d1378630fdcf9e3d0dfd925bf5e.tar.gz
libraries/simplejson: Fixed for bash4.
Diffstat (limited to 'libraries/simplejson/simplejson.SlackBuild')
-rw-r--r--libraries/simplejson/simplejson.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/simplejson/simplejson.SlackBuild b/libraries/simplejson/simplejson.SlackBuild
index f21b4324d7..31385d45c2 100644
--- a/libraries/simplejson/simplejson.SlackBuild
+++ b/libraries/simplejson/simplejson.SlackBuild
@@ -33,12 +33,8 @@ rm -f ez_setup.py
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
-)
+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/html
cp -a LICENSE.txt $PKG/usr/doc/$PRGNAM-$VERSION