summaryrefslogtreecommitdiff
path: root/development/gprolog/gprolog.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:33:32 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:33:32 -0400
commit4b2835bdd2917c89b12c8ec161166a0922aaabdc (patch)
tree7e212c9a969d7e9135bcac564511f2d12666dac0 /development/gprolog/gprolog.SlackBuild
parent9bfea8387d288865cae87933808db02d77c11e32 (diff)
downloadslackbuilds-4b2835bdd2917c89b12c8ec161166a0922aaabdc.tar.gz
development/gprolog: Fixed for bash4.
Diffstat (limited to 'development/gprolog/gprolog.SlackBuild')
-rw-r--r--development/gprolog/gprolog.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/development/gprolog/gprolog.SlackBuild b/development/gprolog/gprolog.SlackBuild
index 438bf6a176..63f3e84f9e 100644
--- a/development/gprolog/gprolog.SlackBuild
+++ b/development/gprolog/gprolog.SlackBuild
@@ -65,12 +65,8 @@ mv $PKG/usr/$PRGNAM-$VERSION/Examples* $PKG/usr/doc/$PRGNAM-$VERSION/
mv $PKG/usr/$PRGNAM-$VERSION/include $PKG/usr/
# Strip binaries and libraries
-( 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 || 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
# Documentation