The kernel should compile even /dev/null does not exists.

This commit is contained in:
wosch 1998-11-01 15:36:20 +00:00
parent 19bbd56b97
commit 692a15ffe3

View File

@ -32,7 +32,7 @@
# SUCH DAMAGE.
#
# @(#)newvers.sh 8.1 (Berkeley) 4/20/94
# $Id: newvers.sh,v 1.39 1998/10/16 02:08:20 jkh Exp $
# $Id: newvers.sh,v 1.40 1998/10/16 06:55:36 jkh Exp $
TYPE="FreeBSD"
REVISION="3.0"
@ -90,8 +90,7 @@ fi
touch version
v=`cat version` u=${USER-root} d=`pwd` h=`hostname` t=`date`
cat /dev/null > vers.c
echo "$COPYRIGHT" >> vers.c
echo "$COPYRIGHT" > vers.c
echo "char ostype[] = \"${TYPE}\";" >> vers.c
echo "char osrelease[] = \"${RELEASE}\";" >> vers.c
echo "int osreldate = ${RELDATE};" >> vers.c