When building a kernel or the loader, let the hostname be overridden

This commit is contained in:
Paul Saab 2004-07-01 06:40:12 +00:00
parent 0d7f466944
commit b7c29ad503
2 changed files with 2 additions and 2 deletions

View File

@ -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`

View File

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