Make "make-localhost" Y2K safe by using "date +%Y" instead of "date +%y"

to pick the serial number.

PR:		misc/3465
Submitted by:	sjr1@flash.net (Stephen J. Roznowski)
This commit is contained in:
Bill Fenner 1997-08-11 04:06:49 +00:00
parent c1cee2f62b
commit 4d4f8bc429
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=28055

View File

@ -25,7 +25,7 @@ else
fullhost="$host.$domain"
fi
date=`date +"%y%m%d"`
date=`date +"%Y%m%d"`
mv -f localhost.rev localhost.rev.BAK 2>/dev/null