If USER of HOSTNAME is set to an empty value, use the fallback value.
Submitted by: marck
This commit is contained in:
parent
a064f065ee
commit
1b7525eb4b
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user