diff options
-rw-r--r-- | apps/progs.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/progs.pl b/apps/progs.pl index 8a5759a961..77054902b4 100644 --- a/apps/progs.pl +++ b/apps/progs.pl @@ -21,7 +21,7 @@ die "Unrecognised option, must be -C or -H\n" my %commands = (); my $cmdre = qr/^\s*int\s+([a-z_][a-z0-9_]*)_main\(\s*int\s+argc\s*,/; my $apps_openssl = shift @ARGV; -my $YEAR = [localtime()]->[5] + 1900; +my $YEAR = [gmtime($ENV{SOURCE_DATE_EPOCH} || time())]->[5] + 1900; # because the program apps/openssl has object files as sources, and # they then have the corresponding C files as source, we need to chain |