Merge pull request #6402 from DavidPrevot/reproducible

Set TZ=UTC before calls to zip
This commit is contained in:
Tim van der Meij 2015-08-31 16:32:04 +02:00
commit 8f1b0657c0

View File

@ -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 + ' ' +