aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:36:20 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:36:20 -0400
commitadfddd096a14acc73a440c98926a7d148aa640cf (patch)
tree66223c223efdd25e22792e3328b85180dc5c8bc0 /libraries
parent0094a314f73de100af6fd096ffc6e4d2fbbc2ace (diff)
libraries/gobject-introspection: Fixed for bash4.
Diffstat (limited to 'libraries')
-rw-r--r--libraries/gobject-introspection/gobject-introspection.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/gobject-introspection/gobject-introspection.SlackBuild b/libraries/gobject-introspection/gobject-introspection.SlackBuild
index 7f228dfaae614..ef17408959119 100644
--- a/libraries/gobject-introspection/gobject-introspection.SlackBuild
+++ b/libraries/gobject-introspection/gobject-introspection.SlackBuild
@@ -74,12 +74,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-( cd $PKG
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null || true
-)
+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 {} \;