mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 05:03:43 +01:00
Run asciidoc in UTC timezone for build reproducibility.
asciidoc adds a timestamp at the end of a generated HTML file. This timestamp is based on the date of the file but it can change depending on the TZ environment variable.
This commit is contained in:
parent
f4408747d3
commit
3f33a5b1e7
4
changes/asciidoc-UTC
Normal file
4
changes/asciidoc-UTC
Normal file
@ -0,0 +1,4 @@
|
||||
o Minor bugfixes (build):
|
||||
- When building manual pages, set the timezone to "UTC", so that the
|
||||
output is reproducible. Fixes bug 19558; bugfix on 0.2.2.9-alpha.
|
||||
Patch from intrigeri.
|
@ -19,7 +19,7 @@ if [ "$1" = "html" ]; then
|
||||
base=${output%%.html.in}
|
||||
|
||||
if [ "$2" != none ]; then
|
||||
"$2" -d manpage -o $output $input;
|
||||
TZ=UTC "$2" -d manpage -o $output $input;
|
||||
else
|
||||
echo "==================================";
|
||||
echo;
|
||||
|
Loading…
Reference in New Issue
Block a user