Set TZ=UTC before calls to zip
This change allows to make the package build reproducible. Bug-Debian: https://bugs.debian.org/793127
This commit is contained in:
parent
c6ba5ea42e
commit
de83de0a58
3
make.js
3
make.js
@ -861,6 +861,9 @@ target.firefox = function() {
|
||||
sed('-i', /.*PDFJS_SUPPORTED_LOCALES.*\n/, chromeManifest,
|
||||
FIREFOX_BUILD_DIR + '/chrome.manifest');
|
||||
|
||||
// Set timezone to UTC before calling zip to get reproducible results.
|
||||
process.env.TZ = 'UTC';
|
||||
|
||||
// Create the xpi
|
||||
cd(FIREFOX_BUILD_DIR);
|
||||
exec('zip -r ' + FIREFOX_EXTENSION_NAME + ' ' +
|
||||
|
Loading…
x
Reference in New Issue
Block a user