From 723bcb29df7f1cd392d202e258b6971bdc57736d Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:33:57 -0400 Subject: development/pyparsing: Fixed for bash4. --- development/pyparsing/pyparsing.SlackBuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/development/pyparsing/pyparsing.SlackBuild b/development/pyparsing/pyparsing.SlackBuild index 10483515ba..7cf6542f87 100644 --- a/development/pyparsing/pyparsing.SlackBuild +++ b/development/pyparsing/pyparsing.SlackBuild @@ -65,8 +65,8 @@ sed -i "s|\"pyparsing\", \"pyparsing_py3\"|\"pyparsing\"|" \ 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 CHANGES LICENSE PKG-INFO README HowToUsePyparsing.html \ -- cgit v1.2.3