aboutsummaryrefslogtreecommitdiff
path: root/academic
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2010-04-20 14:43:56 -0500
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-15 10:38:35 +0200
commitefcb9852459e5c2e497abe78dd6dd8aeb9e2ce0b (patch)
treebd135e01b0c25ca6e1585e788c20ed46500e93fe /academic
parent28cba043197a294ac22e118366c2e2948a13cac9 (diff)
academic/R: Fixes for bash4.
Diffstat (limited to 'academic')
-rw-r--r--academic/R/R.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/academic/R/R.SlackBuild b/academic/R/R.SlackBuild
index f61baede14a6..67da9442ee26 100644
--- a/academic/R/R.SlackBuild
+++ b/academic/R/R.SlackBuild
@@ -58,12 +58,8 @@ make
make install DESTDIR=$PKG
-( 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
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;