diff --git a/academic/maxima/maxima.SlackBuild b/academic/maxima/maxima.SlackBuild index 47979d009a..d4612393d9 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 {} \;