=================================================================== RCS file: /cvs/openbsd/update_openbsd/release.sh,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- openbsd/update_openbsd/release.sh 2007/05/04 21:56:34 1.10 +++ openbsd/update_openbsd/release.sh 2007/05/04 21:57:34 1.11 @@ -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.10 2007/05/04 20:56:34 andrew Exp $ # Copyright (c) 2002 - 2006, FenderQ # All rights reserved. # @@ -137,11 +137,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 +148,11 @@ echo if [ $# = 0 ]; then usage; exit 1; fi + +if [ `whoami` != "root" ]; then + echo "You probably should be root instead of `whoami` to run this safely." + exit 1 +fi for i in $* do