=================================================================== RCS file: /cvs/openbsd/update_openbsd/release.sh,v retrieving revision 1.14 retrieving revision 1.18 diff -u -r1.14 -r1.18 --- openbsd/update_openbsd/release.sh 2007/11/20 20:08:31 1.14 +++ openbsd/update_openbsd/release.sh 2008/04/16 21:54:28 1.18 @@ -1,5 +1,5 @@ #!/bin/sh -# $RedRiver: release.sh,v 1.13 2007/11/19 22:08:37 andrew Exp $ +# $RedRiver: release.sh,v 1.17 2008/04/16 20:49:54 andrew Exp $ # # Copyright (c) 2002 - 2007 Steven Roberts # @@ -38,6 +38,9 @@ CVSROOT="anoncvs@rt.fm:/cvs" export CVSROOT +if [ -e ${HOME}/.releaserc ]; then + . ${HOME}/.releaserc +fi # See http://www.openbsd.org/anoncvs.html for instructions on fetching the # sources for the first time. @@ -45,10 +48,11 @@ update_sources() { echo "---------- Update sources ----------" for d in $SOURCES; do - _cvstag=-r$CVSTAG - if [ X"$CVSTAG" == X"HEAD" ]; then - _cvstag=-A + _cvstag=-r$TAG + if [ X"$TAG" == X"HEAD" ]; then + _cvstag="" fi + echo "cd $d && cvs -q -z6 update $_cvstag -Pd" cd $d && cvs -q -z6 update $_cvstag -Pd done } @@ -150,7 +154,6 @@ make_xenocara_release make_system_release ;; -case $i in update) update_sources ;;