Reflect reality when a sudo user builds/installs a kernel. [1]

/* -> /*- for copyright notices. [2]

[1]:
PR:		41317
Submitted by:	marck (original version)

[2]:
Discussed with:	imp
This commit is contained in:
Tom Rhodes 2005-01-12 21:28:25 +00:00
parent 4227c68d25
commit 3952015f40

View File

@ -63,7 +63,7 @@ done
# no copyright found, use a dummy
if [ X"$COPYRIGHT" = X ]; then
COPYRIGHT="/*
COPYRIGHT="/*-
* Copyright (c) 1992-$year The FreeBSD Project.
* All rights reserved.
*
@ -81,7 +81,8 @@ then
fi
touch version
v=`cat version` u=${USER-root} d=`pwd` h=${HOSTNAME-`hostname`} t=`date`
u=`/usr/bin/logname`
v=`cat version` u=${u:-root} d=`pwd` h=${HOSTNAME-`hostname`} t=`date`
i=`${MAKE:-make} -V KERN_IDENT`
cat << EOF > vers.c
$COPYRIGHT