[BACK]Return to release.sh CVS log [TXT][DIR] Up to [local] / openbsd / update_openbsd

Diff for /openbsd/update_openbsd/release.sh between version 1.19 and 1.23

version 1.19, 2008/05/22 18:39:20 version 1.23, 2008/10/11 23:11:58
Line 1 
Line 1 
 #!/bin/sh  #!/bin/sh
 # $RedRiver: release.sh,v 1.18 2008/04/16 20:54:28 andrew Exp $  # $RedRiver: release.sh,v 1.22 2008/07/08 22:46:01 andrew Exp $
 #  #
 # Copyright (c) 2002, 2008 Steven Roberts <sroberts@fenderq.com>  # Copyright (c) 2002, 2008 Steven Roberts <sroberts@fenderq.com>
 #  #
Line 21 
Line 21 
 ARCH=`machine`  ARCH=`machine`
 DEST="/home/destdir"  DEST="/home/destdir"
 RELEASE="/home/releasedir"  RELEASE="/home/releasedir"
 XSRCDIR="/usr/src/xenocara"  XSRCDIR="/usr/xenocara"
 PORTSPATH="/usr/ports"  PORTSPATH="/usr/ports"
   
 # Anonymous CVS - http://www.openbsd.org/anoncvs.html  
 #CVSROOT="anoncvs@anoncvs3.usa.openbsd.org:/cvs"  
 #CVSROOT="anoncvs@anoncvs1.usa.openbsd.org:/cvs"  
 CVSROOT="anoncvs@rt.fm:/cvs"  
 export CVSROOT  
   
 if [ -e ${HOME}/.releaserc ]; then  if [ -e ${HOME}/.releaserc ]; then
         . ${HOME}/.releaserc          . ${HOME}/.releaserc
 fi  fi
Line 39 
Line 33 
   
 update_sources() {  update_sources() {
 echo "---------- Update sources ----------"  echo "---------- Update sources ----------"
   _cvstag=-r$TAG
   if [ X"$TAG" == X"HEAD" ]; then
           _cvstag=""
   fi
 for d in /usr/src ${XSRCDIR} ${PORTSPATH}; do  for d in /usr/src ${XSRCDIR} ${PORTSPATH}; do
        _cvstag=-r$TAG         echo "cd $d && opencvs update $_cvstag -Pd"
        if [ X"$TAG" == X"HEAD" ]; then         cd $d && opencvs update $_cvstag -Pd
                _cvstag=""  
        fi  
        echo "cd $d && cvs update $_cvstag -Pd"  
        cd $d && cvs update $_cvstag -Pd  
 done  done
 }  }
   

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.23

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>