summaryrefslogtreecommitdiff
path: root/academic
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:30:39 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:30:39 -0400
commitda372bd13f92ee8a90758be10a0d81601592b522 (patch)
tree44623b443f5e585d2e9cecf00a4a75c0df67d5bd /academic
parenta0cbcb55e08cee5698f087457a700855961b8e74 (diff)
downloadslackbuilds-da372bd13f92ee8a90758be10a0d81601592b522.tar.gz
academic/maxima: Fixed for bash4.
Diffstat (limited to 'academic')
-rw-r--r--academic/maxima/maxima.SlackBuild8
1 files changed, 2 insertions, 6 deletions
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 {} \;