summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/conf/newvers.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/conf/newvers.sh b/sys/conf/newvers.sh
index 3484f45..ae74487 100644
--- a/sys/conf/newvers.sh
+++ b/sys/conf/newvers.sh
@@ -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
OpenPOWER on IntegriCloud