Improve previous commit with regards to the user check.

Submitted by:	nectar
This commit is contained in:
trhodes 2005-01-13 00:21:38 +00:00
parent 38e5eaf1a7
commit 4f671f05a4

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