=================================================================== RCS file: /cvs/openbsd/update_openbsd/release.sh,v retrieving revision 1.10 retrieving revision 1.13 diff -u -r1.10 -r1.13 --- openbsd/update_openbsd/release.sh 2007/05/04 21:56:34 1.10 +++ openbsd/update_openbsd/release.sh 2007/11/19 22:08:37 1.13 @@ -1,5 +1,5 @@ #!/bin/sh -# $RedRiver: release.sh,v 1.9 2006/12/13 23:26:56 andrew Exp $ +# $RedRiver: release.sh,v 1.12 2007/09/09 21:40:41 andrew Exp $ # Copyright (c) 2002 - 2006, FenderQ # All rights reserved. # @@ -44,7 +44,9 @@ SOURCES="src ports XF4" # Anonymous CVS - http://www.openbsd.org/anoncvs.html -CVSROOT="anoncvs@anoncvs3.usa.openbsd.org:/cvs" +#CVSROOT="anoncvs@anoncvs3.usa.openbsd.org:/cvs" +#CVSROOT="anoncvs@anoncvs1.usa.openbsd.org:/cvs" +CVSROOT="anoncvs@rt.fm:/cvs" export CVSROOT install_sources() { @@ -137,11 +139,6 @@ echo } -if [ `whoami` != "root" ]; then - echo "You probably should be root instead of `whoami` to run this safely." - exit 1 -fi - START=`date` echo echo "***** OpenBSD - Release Building *****" @@ -153,6 +150,11 @@ echo if [ $# = 0 ]; then usage; exit 1; fi + +if [ `id -u` != "0" ]; then + echo "You probably should be root instead of `whoami` to run this safely." + exit 1 +fi for i in $* do