[BACK]Return to release.sh CVS log [TXT][DIR] Up to [local] / openbsd / update_openbsd

Diff for /openbsd/update_openbsd/release.sh between version 1.10 and 1.11

version 1.10, 2007/05/04 21:56:34 version 1.11, 2007/05/04 21:57:34
Line 1 
Line 1 
 #!/bin/sh  #!/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  # Copyright (c) 2002 - 2006, FenderQ
 # All rights reserved.  # All rights reserved.
 #  #
Line 137 
Line 137 
         echo          echo
 }  }
   
 if [ `whoami` != "root" ]; then  
         echo "You probably should be root instead of `whoami` to run this safely."  
         exit 1  
 fi  
   
 START=`date`  START=`date`
 echo  echo
 echo "***** OpenBSD - Release Building *****"  echo "***** OpenBSD - Release Building *****"
Line 153 
Line 148 
 echo  echo
   
 if [ $# = 0 ]; then usage; exit 1; fi  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 $*  for i in $*
 do  do

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>