summaryrefslogtreecommitdiff
path: root/libraries/pyfltk/pyfltk.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:39:04 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:39:04 -0400
commit58b432a41a9a72a78840c1fa334fe85e4c1e440f (patch)
treef8d369603d6e2426a402524167c37997c2f612cb /libraries/pyfltk/pyfltk.SlackBuild
parent23a4f8aa481d64b818b5b609ac419388a6c3ba46 (diff)
downloadslackbuilds-58b432a41a9a72a78840c1fa334fe85e4c1e440f.tar.gz
libraries/pyfltk: Fixed for bash4.
Diffstat (limited to 'libraries/pyfltk/pyfltk.SlackBuild')
-rw-r--r--libraries/pyfltk/pyfltk.SlackBuild6
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