From e8d33b306df673f9d779cf83a6fc89c088d336fb Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:30:42 -0400 Subject: [PATCH] academic/octave-forge: Fixed for bash4. --- academic/octave-forge/octave-forge.SlackBuild | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/academic/octave-forge/octave-forge.SlackBuild b/academic/octave-forge/octave-forge.SlackBuild index 26b17bf9f9..baf780b56a 100644 --- a/academic/octave-forge/octave-forge.SlackBuild +++ b/academic/octave-forge/octave-forge.SlackBuild @@ -97,10 +97,8 @@ octave --silent \ rm ll gl ) -( 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 -) +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild