From 23a4f8aa481d64b818b5b609ac419388a6c3ba46 Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:39:04 -0400 Subject: libraries/pydot: Fixed for bash4. --- libraries/pydot/pydot.SlackBuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/pydot/pydot.SlackBuild b/libraries/pydot/pydot.SlackBuild index 2ea25853d4..6f5b60ae40 100644 --- a/libraries/pydot/pydot.SlackBuild +++ b/libraries/pydot/pydot.SlackBuild @@ -53,8 +53,8 @@ python setup.py install --root=$PKG # remove wrongly installed docs rm -f $PKG/usr/{ChangeLog,LICENSE,README} -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 ChangeLog LICENSE PKG-INFO README \ -- cgit v1.2.3