aboutsummaryrefslogtreecommitdiff
path: root/development
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
parent9bfea8387d288865cae87933808db02d77c11e32 (diff)
development/gprolog: Fixed for bash4.
Diffstat (limited to 'development')
-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 438bf6a176d1c..63f3e84f9e33f 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