aboutsummaryrefslogtreecommitdiff
path: root/sys/boot
diff options
context:
space:
mode:
authorPaul Saab <ps@FreeBSD.org>2004-07-01 06:40:12 +0000
committerPaul Saab <ps@FreeBSD.org>2004-07-01 06:40:12 +0000
commitb7c29ad503102c8907d92233e2b00cc5ef7d161e (patch)
tree696d802a315917657fe2d424a1198374e6b6f669 /sys/boot
parent0d7f4669448cedbb746b1614bd8b8a69aa1dbad3 (diff)
Notes
Diffstat (limited to 'sys/boot')
-rwxr-xr-xsys/boot/common/newvers.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/common/newvers.sh b/sys/boot/common/newvers.sh
index 0cab1f90b3a61..fd7b0b1685c47 100755
--- a/sys/boot/common/newvers.sh
+++ b/sys/boot/common/newvers.sh
@@ -33,7 +33,7 @@
# @(#)newvers.sh 8.1 (Berkeley) 4/20/94
LC_ALL=C; export LC_ALL
-u=${USER-root} h=`hostname` t=`date`
+u=${USER-root} h=${HOSTNAME-`hostname`} t=`date`
#r=`head -n 6 $1 | tail -n 1 | awk -F: ' { print $1 } '`
r=`awk -F: ' /^[0-9]\.[0-9]+:/ { print $1; exit }' $1`