If USER of HOSTNAME is set to an empty value, use the fallback value.

Submitted by:	marck
This commit is contained in:
Ruslan Ermilov 2005-01-15 13:25:41 +00:00
parent a064f065ee
commit 1b7525eb4b

View File

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