summaryrefslogtreecommitdiffstats
path: root/libraries/fltk
diff options
context:
space:
mode:
author David Somero <xgizzmo@slackbuilds.org>2010-05-19 02:36:07 -0400
committer David Somero <xgizzmo@slackbuilds.org>2010-05-19 02:36:07 -0400
commit5d5c56d40b352f2dae941f61463c91805f0d7b92 (patch)
tree13336e98814295e74ae10ad1510da7b1ca274a63 /libraries/fltk
parentb4b3e93b4e8e077583694d7676c20aefd504f45f (diff)
downloadslackbuilds-5d5c56d40b352f2dae941f61463c91805f0d7b92.tar.gz
slackbuilds-5d5c56d40b352f2dae941f61463c91805f0d7b92.tar.xz
libraries/fltk: Fixed for bash4.
Diffstat (limited to 'libraries/fltk')
-rw-r--r--libraries/fltk/fltk.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/fltk/fltk.SlackBuild b/libraries/fltk/fltk.SlackBuild
index faabac4750..5ed78d0e7f 100644
--- a/libraries/fltk/fltk.SlackBuild
+++ b/libraries/fltk/fltk.SlackBuild
@@ -82,12 +82,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null
- 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
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;