Browse Source

Set TZ=UTC before calls to zip

This change allows to make the package build reproducible.

Bug-Debian: https://bugs.debian.org/793127
Dhole 10 years ago committed by David Prévot
parent
commit
de83de0a58
  1. 3
      make.js

3
make.js

@ -861,6 +861,9 @@ target.firefox = function() { @@ -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…
Cancel
Save