mirror of
https://git.FreeBSD.org/src.git
synced 2025-02-08 10:32:47 +00:00
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:
parent
c1cee2f62b
commit
4d4f8bc429
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=28055
@ -25,7 +25,7 @@ else
|
|||||||
fullhost="$host.$domain"
|
fullhost="$host.$domain"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
date=`date +"%y%m%d"`
|
date=`date +"%Y%m%d"`
|
||||||
|
|
||||||
mv -f localhost.rev localhost.rev.BAK 2>/dev/null
|
mv -f localhost.rev localhost.rev.BAK 2>/dev/null
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user