[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.20 and 1.21

version 1.20, 2008/05/22 18:45:31 version 1.21, 2008/05/22 18:54:37
Line 1 
Line 1 
 #!/bin/sh  #!/bin/sh
 # $RedRiver: release.sh,v 1.19 2008/05/22 17:39:20 andrew Exp $  # $RedRiver: release.sh,v 1.20 2008/05/22 17:45:31 andrew Exp $
 #  #
 # Copyright (c) 2002, 2008 Steven Roberts <sroberts@fenderq.com>  # Copyright (c) 2002, 2008 Steven Roberts <sroberts@fenderq.com>
 #  #
Line 33 
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  
        if [ X"$TAG" == X"HEAD" ]; then  
                _cvstag=""  
        fi  
        echo "cd $d && cvs update $_cvstag -Pd"         echo "cd $d && cvs update $_cvstag -Pd"
        cd $d && cvs update $_cvstag -Pd         cd $d && cvs update $_cvstag -Pd
 done  done

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

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