From 58b432a41a9a72a78840c1fa334fe85e4c1e440f Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:39:04 -0400 Subject: libraries/pyfltk: Fixed for bash4. --- libraries/pyfltk/pyfltk.SlackBuild | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'libraries/pyfltk/pyfltk.SlackBuild') diff --git a/libraries/pyfltk/pyfltk.SlackBuild b/libraries/pyfltk/pyfltk.SlackBuild index d549f42fdc..4cf200762f 100644 --- a/libraries/pyfltk/pyfltk.SlackBuild +++ b/libraries/pyfltk/pyfltk.SlackBuild @@ -70,10 +70,8 @@ python setup.py build # --install-data= flag is ignored now python setup.py install --prefix=/usr/ --root=$PKG -( cd $PKG - 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/install cat $CWD/slack-desc > $PKG/install/slack-desc -- cgit v1.2.3