=================================================================== RCS file: /cvs/openbsd/update_openbsd/release.sh,v retrieving revision 1.19 retrieving revision 1.23 diff -u -r1.19 -r1.23 --- openbsd/update_openbsd/release.sh 2008/05/22 18:39:20 1.19 +++ openbsd/update_openbsd/release.sh 2008/10/11 23:11:58 1.23 @@ -1,5 +1,5 @@ #!/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 # @@ -21,15 +21,9 @@ ARCH=`machine` DEST="/home/destdir" RELEASE="/home/releasedir" -XSRCDIR="/usr/src/xenocara" +XSRCDIR="/usr/xenocara" 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 . ${HOME}/.releaserc fi @@ -39,13 +33,13 @@ update_sources() { echo "---------- Update sources ----------" +_cvstag=-r$TAG +if [ X"$TAG" == X"HEAD" ]; then + _cvstag="" +fi 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" - cd $d && cvs update $_cvstag -Pd + echo "cd $d && opencvs update $_cvstag -Pd" + cd $d && opencvs update $_cvstag -Pd done }