diff options
author | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:33:32 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:33:32 -0400 |
commit | 4b2835bdd2917c89b12c8ec161166a0922aaabdc (patch) | |
tree | 7e212c9a969d7e9135bcac564511f2d12666dac0 | |
parent | 9bfea8387d288865cae87933808db02d77c11e32 (diff) |
development/gprolog: Fixed for bash4.
-rw-r--r-- | development/gprolog/gprolog.SlackBuild | 8 |
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 |