[Pkg-javascript-commits] [pdf.js] 55/109: Set TZ=UTC before calls to zip

David Prévot taffit at moszumanska.debian.org
Fri Sep 25 03:04:17 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository pdf.js.

commit de83de0a5868d3e14d3d894081173e50346bbac6
Author: Dhole <dhole at openmailbox.org>
Date:   Tue Jul 21 16:29:12 2015 +0200

    Set TZ=UTC before calls to zip
    
    This change allows to make the package build reproducible.
    
    Bug-Debian: https://bugs.debian.org/793127
---
 make.js | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/make.js b/make.js
index 01dea27..ec944f3 100644
--- a/make.js
+++ b/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 + ' ' +

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/pdf.js.git



More information about the Pkg-javascript-commits mailing list