diff options
author | ranke <ranke@f247ebf9-aa24-0410-a698-f940e971ad2b> | 2009-11-04 18:13:29 +0000 |
---|---|---|
committer | ranke <ranke@f247ebf9-aa24-0410-a698-f940e971ad2b> | 2009-11-04 18:13:29 +0000 |
commit | 5f54688b1c6d85765a6190bd8463d9c2b5593044 (patch) | |
tree | 8dd65ab5fbfabaaa764dbbccc4958b2e56f144a0 /build_others.sh | |
parent | dc22033affd1d3544764f61170aec9cf3adeb941 (diff) |
Script update for backporting to lenny
git-svn-id: svn+ssh://stiller/home/schatz/reps/r-backports@61 f247ebf9-aa24-0410-a698-f940e971ad2b
Diffstat (limited to 'build_others.sh')
-rw-r--r-- | build_others.sh | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/build_others.sh b/build_others.sh index d7f8f4a..21da734 100644 --- a/build_others.sh +++ b/build_others.sh @@ -1,19 +1,23 @@ # Author: Johannes Ranke <jranke@uni-bremen.de> +# On Debian I used to run this script as root. On Ubuntu I now run it with +# sudo -E sh build_others.sh + # Preconditions: - shell variables DIST and ARCH # - CRAN sources in /etc/apt/sources/list +# - cdbs installed (and maybe more) echo Distribution is $DIST echo Architecture is $ARCH -apt-get update +#apt-get update pbuilder update -#for i in survival; do -for i in cluster foreign kernsmooth lattice mgcv nlme rmatrix rodbc rpart survival vr littler; do +#for i in nlme; do +#for i in cluster foreign kernsmooth lattice mgcv nlme r-cran-class r-cran-spatial r-cran-nnet r-cran-massrmatrix rodbc rpart survival littler; do apt-get source -t $DIST-cran $i cd $i-* - pdebuild --debbuildopts '-b' --buildresult /home/ranke/svn/website/www/ranke/r-cran/$DIST-cran/ -- --distribution $DIST --basetgz /var/cache/pbuilder/$DIST-$ARCH-base.tgz --aptcache /exthd/pbuilder/$DIST-$ARCH/aptcache --buildplace /exthd/pbuilder/$DIST-$ARCH/build + pdebuild --debbuildopts '-b' --buildresult /home/ranke/svn/website/www/ranke/r-cran/$DIST-cran/ -- --distribution $DIST --basetgz /var/cache/pbuilder/$DIST-$ARCH-base.tgz --aptcache /var/cache/pbuilder/$DIST-$ARCH/aptcache --buildplace /var/cache/pbuilder/$DIST-$ARCH/build cd .. done |