aboutsummaryrefslogtreecommitdiff
path: root/libraries/fltk/fltk.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:36:07 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:36:07 -0400
commit5d5c56d40b352f2dae941f61463c91805f0d7b92 (patch)
tree13336e98814295e74ae10ad1510da7b1ca274a63 /libraries/fltk/fltk.SlackBuild
parentb4b3e93b4e8e077583694d7676c20aefd504f45f (diff)
libraries/fltk: Fixed for bash4.
Diffstat (limited to 'libraries/fltk/fltk.SlackBuild')
-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 faabac4750db1..5ed78d0e7fa0c 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 {} \;