From da372bd13f92ee8a90758be10a0d81601592b522 Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:30:39 -0400 Subject: academic/maxima: Fixed for bash4. --- academic/maxima/maxima.SlackBuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'academic') diff --git a/academic/maxima/maxima.SlackBuild b/academic/maxima/maxima.SlackBuild index 47979d009a91..d4612393d9e9 100644 --- a/academic/maxima/maxima.SlackBuild +++ b/academic/maxima/maxima.SlackBuild @@ -74,12 +74,8 @@ CXXFLAGS="$SLKCFLAGS" \ make -j1 make -j1 install DESTDIR=$PKG -( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \ - xargs strip --strip-unneeded 2> /dev/null - 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 ( cd $PKG/usr/man find . -type f -exec gzip -9 {} \; -- cgit v1.2.3