summaryrefslogtreecommitdiff
path: root/mkhelp.pl
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2025-05-19 05:51:42 +0000
committerXin LI <delphij@FreeBSD.org>2025-05-19 05:51:42 +0000
commit48b0a08b8724e7d5671dac2abf17ddb6d4e2a8f8 (patch)
tree1b948df937500aa7672f42e2eb1b2a6d743aa51f /mkhelp.pl
parent8c9fd1007159a1cfe994ccf7021688a679a0a39c (diff)
Diffstat (limited to 'mkhelp.pl')
-rwxr-xr-xmkhelp.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkhelp.pl b/mkhelp.pl
index e93535b9d6cc..452d9a0aef31 100755
--- a/mkhelp.pl
+++ b/mkhelp.pl
@@ -7,7 +7,7 @@ use strict;
# whose content is the input to this script.
{
- my ($sec,$min,$hour,$mday,$mon,$year) = gmtime();
+ my ($sec,$min,$hour,$mday,$mon,$year) = gmtime($ENV{SOURCE_DATE_EPOCH} // time());
printf "/* This file was generated by mkhelp.pl from less.hlp at %d:%02d on %d/%d/%d */\n",
$hour, $min, $year+1900, $mon+1, $mday;
print "#include \"less.h\"\n";