=================================================================== RCS file: /cvs/openbsd/update_openbsd/release.sh,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- openbsd/update_openbsd/release.sh 2008/05/22 18:45:31 1.20 +++ openbsd/update_openbsd/release.sh 2008/05/22 18:54:37 1.21 @@ -1,5 +1,5 @@ #!/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 # @@ -33,11 +33,11 @@ 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 done