cvs commit: src/sys/conf newvers.sh
    Dmitry Morozovsky 
    marck at FreeBSD.org
       
    Sat Jan 15 03:51:00 PST 2005
    
    
  
On Fri, 14 Jan 2005, Tom Rhodes wrote:
TR> trhodes     2005-01-14 18:13:56 UTC
TR> 
TR>   FreeBSD src repository
TR> 
TR>   Modified files:
TR>     sys/conf             newvers.sh 
TR>   Log:
TR>   Give up on trying to please everyone and restore 1.64 with regards to
TR>   dealing with sudo users.
Well, I suppose it's fair to close my original PR as recommended 'buildkernel' 
way usually keeps things in a good shape. The only change I would still argue 
is
Index: sys/conf/newvers.sh
===================================================================
RCS file: /home/ncvs/src/sys/conf/newvers.sh,v
retrieving revision 1.67
diff -u -r1.67 newvers.sh
--- sys/conf/newvers.sh 14 Jan 2005 18:13:56 -0000      1.67
+++ sys/conf/newvers.sh 15 Jan 2005 11:49:12 -0000
@@ -81,7 +81,7 @@
 fi
 
 touch version
-v=`cat version` u=${USER-root} d=`pwd` h=${HOSTNAME-`hostname`} t=`date`
+v=`cat version` u=${USER:-root} d=`pwd` h=${HOSTNAME-`hostname`} t=`date`
 i=`${MAKE:-make} -V KERN_IDENT`
 cat << EOF > vers.c
 $COPYRIGHT
to get rid of annoying ``DATE  @hostname.domain.tld:/usr/src/...'' tag when 
kernel is built in single-user mode.
Sincerely,
D.Marck                                        [DM5020, MCK-RIPE, DM3-RIPN]
---------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck at FreeBSD.org ***
---------------------------------------------------------------------------
    
    
More information about the cvs-all
mailing list