Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: djm-SweaveRd
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

executable file 22 lines (17 sloc) 0.643 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
#! /bin/sh
#
# ${RHOME}/tools/link-recommended

## This is like rsync-recommended but without the rsync. Before running
## it you are assumed to have already fetched the packages by (say) FTP.

TOOLS_DIR=`echo ${0} | sed 's%/[^/][^/]*$%%'`
(cd "${TOOLS_DIR}"/..
  PKGS=`grep '^R_PKGS_RECOMMENDED_SOURCES *=' share/make/vars.mk | \
    sed 's/.*=//'`
  cd src/library/Recommended

  ## Link all each package to a simplified name so that Make has an
  ## easier time. Notice that as far as Make is concerned, the symlinks
  ## have the same timestamp as the file they point to.

  for i in ${PKGS} ; do
ln -sf $i*.tar.gz ${i}.tgz
  done
)
Something went wrong with that request. Please try again.