From c07f2733f64013ca1d343130905efb88ed06bab5 Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:30:43 -0400 Subject: [PATCH] academic/octave: Fixed for bash4. --- academic/octave/octave.SlackBuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/academic/octave/octave.SlackBuild b/academic/octave/octave.SlackBuild index 72e74b472f..107a2a4b65 100644 --- a/academic/octave/octave.SlackBuild +++ b/academic/octave/octave.SlackBuild @@ -68,12 +68,8 @@ make install-strip DESTDIR=$PKG # install-strip doesn't strip the files in usr/lib/octave-$VERSION, # so leave this in for now. -( 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 ( cd $PKG/usr/man find . -type f -exec gzip -9 {} \;