diff --git a/debian/patches/reproducible-makeinfo b/debian/patches/reproducible-makeinfo index e2c6bbb..3be0ec5 100644 --- a/debian/patches/reproducible-makeinfo +++ b/debian/patches/reproducible-makeinfo @@ -11,7 +11,7 @@ } my($sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst) - = localtime(time); -+ = ($ENV{SOURCE_DATE_EPOCH} ? gmtime($ENV{SOURCE_DATE_EPOCH}) : localtime(time); ++ = ($ENV{SOURCE_DATE_EPOCH} ? gmtime($ENV{SOURCE_DATE_EPOCH}) : localtime(time)); $year += ($year < 70) ? 2000 : 1900; return $self->gdt('{month} {day}, {year}', { 'month' => $self->gdt($MONTH_NAMES[$mon]),