From 5f54688b1c6d85765a6190bd8463d9c2b5593044 Mon Sep 17 00:00:00 2001 From: ranke Date: Wed, 4 Nov 2009 18:13:29 +0000 Subject: Script update for backporting to lenny git-svn-id: svn+ssh://stiller/home/schatz/reps/r-backports@61 f247ebf9-aa24-0410-a698-f940e971ad2b --- build_others.sh | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'build_others.sh') 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 +# 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 -- cgit v1.2.1