mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-27 12:13:20 -04:00
Use UTC datetime for reproducible builds
For reproducible builds, we use last modification time of the CHANGES
file. This works pretty well, unless the builds are made in different
timezones.
Use UTC option to date command to make the builds reproducible.
(cherry picked from commit 8c4d5d5623)
This commit is contained in:
parent
ab061cbc69
commit
9bfbff4a3c
1 changed files with 1 additions and 1 deletions
|
|
@ -1253,7 +1253,7 @@ AM_CONDITIONAL([HAVE_XELATEX], [test "$XELATEX" != ":" && test "$LATEXMK" != ":"
|
|||
# Pull release date from CHANGES file last modification date
|
||||
# for reproducible builds
|
||||
#
|
||||
release_date=`date -r CHANGES +%Y-%m-%d`
|
||||
release_date=`date -u -r CHANGES +%Y-%m-%d`
|
||||
AC_SUBST([RELEASE_DATE], $release_date)
|
||||
|
||||
#
|
||||
|
|
|
|||
Loading…
Reference in a new issue