[r-backports] / build_r-base.sh Repository:
ViewVC logotype

Diff of /build_r-base.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 60, Wed Sep 2 04:57:22 2009 UTC revision 63, Fri Apr 23 04:20:03 2010 UTC
# Line 4  Line 4 
4    
5  # Author: Johannes Ranke <jranke@uni-bremen.de>  # Author: Johannes Ranke <jranke@uni-bremen.de>
6    
7    # On Debian I used to run this script as root. On Ubuntu I now run it with
8    # sudo -E sh build_r-base.sh
9    
10  # Preconditions: - shell variables DIST and ARCH  # Preconditions: - shell variables DIST and ARCH
11  #                - CRAN sources in /etc/apt/sources/list  #                - CRAN sources in /etc/apt/sources/list
12    #                - cdbs installed (and maybe more)
13    
14  echo Distribution is $DIST  echo Distribution is $DIST
15  echo Architecture is $ARCH  echo Architecture is $ARCH
# Line 15  Line 19 
19    
20  cd r-base-*  cd r-base-*
21    
22  #pbuilder update  pbuilder update
23  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  
24    pdebuild --buildresult /home/ranke/svn/website/www/ranke/r-cran/$DIST-cran/ -- --binary-arch --distribution $DIST --basetgz /var/cache/pbuilder/$DIST-$ARCH-base.tgz --aptcache /var/cache/pbuilder/$DIST-$ARCH/aptcache --buildplace /var/cache/pbuilder/$DIST-$ARCH/build
25  if [ $? -ne 0 ]; then  if [ $? -ne 0 ]; then
26      exit      exit
27  fi  fi

Legend:
Removed from v.60  
changed lines
  Added in v.63

Johannes Ranke
ViewVC Help
Powered by ViewVC 1.0.1