aboutsummaryrefslogtreecommitdiff
path: root/academic/gcompris/gcompris.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:30:25 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:30:25 -0400
commit4c1d3c747b6b534866985c2ecce8bc9f7718d654 (patch)
tree83a8dcba8dcab26b950a32217fd22b865edf5a76 /academic/gcompris/gcompris.SlackBuild
parent1a7e09b5aa241396ba36cc301906d2a8d23d7f61 (diff)
academic/gcompris: Fixed for bash4.
Diffstat (limited to 'academic/gcompris/gcompris.SlackBuild')
-rw-r--r--academic/gcompris/gcompris.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/academic/gcompris/gcompris.SlackBuild b/academic/gcompris/gcompris.SlackBuild
index 694b4a0dd4964..667d4005de984 100644
--- a/academic/gcompris/gcompris.SlackBuild
+++ b/academic/gcompris/gcompris.SlackBuild
@@ -86,12 +86,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 || true
- 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 {} \;