From 0361a4b24792458f0b4b25a44a58b45052057aab Mon Sep 17 00:00:00 2001 From: trhodes Date: Thu, 13 Jan 2005 00:21:38 +0000 Subject: Improve previous commit with regards to the user check. Submitted by: nectar --- sys/conf/newvers.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/conf/newvers.sh') diff --git a/sys/conf/newvers.sh b/sys/conf/newvers.sh index ae74487..e0a6600 100644 --- a/sys/conf/newvers.sh +++ b/sys/conf/newvers.sh @@ -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 -- cgit v1.1