diff options
-rw-r--r-- | libraries/pyfltk/pyfltk.SlackBuild | 6 |
1 files changed, 2 insertions, 4 deletions
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 |