From 4b2835bdd2917c89b12c8ec161166a0922aaabdc Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:33:32 -0400 Subject: development/gprolog: Fixed for bash4. --- development/gprolog/gprolog.SlackBuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'development') 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 -- cgit v1.2.3