Add code that should catch the most common case when date/time is

set incorrectly.
This commit is contained in:
Ruslan Ermilov 2008-03-25 15:47:22 +00:00
parent eb085c43f0
commit ec51d61f1a

View File

@ -172,6 +172,10 @@ ${TGTS}:
.MAIN: all
STARTTIME!= LC_ALL=C date
CHECK_TIME!= find ${.CURDIR}/sys/sys/param.h -mtime -0
.if !empty(CHECK_TIME)
.error check your date/time: ${STARTTIME}
.endif
.if defined(HISTORICAL_MAKE_WORLD) || defined(DESTDIR)
#