From db9357e7c08ca7eb86a010f537d4ab8a5a1e3063 Mon Sep 17 00:00:00 2001 From: Debian 389ds Team Date: Wed, 10 May 2017 07:25:03 +0100 Subject: [PATCH] reproducible-build Gbp-Pq: Name reproducible-build.diff --- buildnum.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildnum.pl b/buildnum.pl index 6d8804f..f5e7f3e 100755 --- a/buildnum.pl +++ b/buildnum.pl @@ -31,7 +31,7 @@ if ($opt_H) {exitHelp();} $platdir = $opt_p; # Get current time -@now = gmtime; +@now = gmtime ($ENV{SOURCE_DATE_EPOCH} || time); # Format buildnum as YYYY.DDD.HHMM $year = $now[5] + 1900; -- 2.30.2