Improve previous commit with regards to the user check.

Submitted by:	nectar
This commit is contained in:
Tom Rhodes 2005-01-13 00:21:38 +00:00
parent 7e2ee1f065
commit fc3ec7491f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=140145

View File

@ -81,8 +81,8 @@ then
fi
touch version
u=`/usr/bin/logname`
v=`cat version` u=${u:-root} d=`pwd` h=${HOSTNAME-`hostname`} t=`date`
USER=${USER-`logname`}
v=`cat version` u=${USER-root} d=`pwd` h=${HOSTNAME-`hostname`} t=`date`
i=`${MAKE:-make} -V KERN_IDENT`
cat << EOF > vers.c
$COPYRIGHT