From 99c024e33463137189b0f03de460551413cfebb0 Mon Sep 17 00:00:00 2001 From: Benjamin Drung Date: Tue, 12 Jan 2016 23:03:50 +0100 Subject: install-xpi: sort file list in preferences files Members of the reproducible builds effort noticed that mozilla-devscripts embeds file lists in undeterministic readdir order into .js files. To make builds reproducible, sort the file list in preferences files. Closes: #808713 Thanks: Reiner Herrmann --- install-xpi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'install-xpi') diff --git a/install-xpi b/install-xpi index 4e7c674..aba8773 100755 --- a/install-xpi +++ b/install-xpi @@ -131,7 +131,7 @@ def install_xpi(script_name, package, xpi_file, exclude, install_dir, links, (script_name, xpi_file), file=sys.stderr) sys.exit(XPI_FILE_DOES_NOT_EXISTS) zfobj = zipfile.ZipFile(xpi_file) - xpi_content = zfobj.namelist() + xpi_content = sorted(zfobj.namelist()) # determine installation directory if get_arch(package, debian_directory) == "all": -- cgit v1.2.3