Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: tags/R-1-6-0
Fetching contributors…

Cannot retrieve contributors at this time

executable file 25 lines (19 sloc) 0.767 kB
#! /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}"/..
version=`cut -f1 -d' ' VERSION`
PKGS=`grep '^R_PKGS_RECOMMENDED *=' Makeconf.in | sed 's/.*=//'`
cd src/library/Recommended
## Link all each package to a simplified name so that Make has an
## easier time. Notice that we cannot use pkgname.tgz because of
## the way R CMD INSTALL works, but pkgname_tgz works OK.
## 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
)
Jump to Line
Something went wrong with that request. Please try again.