=================================================================== RCS file: /cvs/openbsd/update_openbsd/release.sh,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- openbsd/update_openbsd/release.sh 2006/10/11 00:41:42 1.1 +++ openbsd/update_openbsd/release.sh 2006/10/11 00:48:15 1.2 @@ -36,24 +36,30 @@ # SEE ALSO release(8) # -DEST="/home/destdir" -RELEASE="/home/releasedir" +DEST="/usr/dest" +RELEASE="/usr/release" CVSTAG="OPENBSD_3_9" +#SOURCES="src ports XF4" +SOURCES="src ports" # Anonymous CVS - http://www.openbsd.org/anoncvs.html -CVSROOT="anoncvs@openbsd.sunsite.ualberta.ca:/cvs" +CVSROOT="anoncvs@anoncvs3.usa.openbsd.org:/cvs" export CVSROOT install_sources() { echo "********** Install sources **********" cd /usr - rm -rf src/* XF4 ports - cvs -q -z6 checkout -r$CVSTAG -P src XF4 ports + for d in $SOURCES; do + rm -rf $d/* + cvs -q -z6 checkout -r$CVSTAG -P $d + done } update_sources() { echo "********** Update sources **********" - cd /usr && cvs -q -z6 update -r$CVSTAG -Pd src XF4 ports + for d in $SOURCES; do + cd /usr && cvs -q -z6 update -r$CVSTAG -Pd $d + done } build_kernel() {