diff options
-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 438bf6a176d1..63f3e84f9e33 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 |