summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorPhilippe M. Chiasson <gozer@mozilla.com>2015-11-05 22:33:53 +0100
committerDavid Lawrence <dkl@mozilla.com>2015-11-05 22:33:53 +0100
commit60bde01b7ffc861a7bfba352af015b2b154e6f1e (patch)
treeb8da7a2afae998dfdbdee426c04fa2bc803cd44c /Bugzilla
parent534fc2123e40b7517aeaffd709faf72af97ac3b8 (diff)
downloadbugzilla-60bde01b7ffc861a7bfba352af015b2b154e6f1e.tar.gz
bugzilla-60bde01b7ffc861a7bfba352af015b2b154e6f1e.tar.xz
Bug 1221998 - Make sure localconfig is generated deterministically
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Install/Localconfig.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/Bugzilla/Install/Localconfig.pm b/Bugzilla/Install/Localconfig.pm
index 0ca40ed1b..2e2eb8932 100644
--- a/Bugzilla/Install/Localconfig.pm
+++ b/Bugzilla/Install/Localconfig.pm
@@ -259,6 +259,9 @@ sub update_localconfig {
my $filename = bz_locations->{'localconfig'};
+ # Ensure output is sorted and deterministic
+ local $Data::Dumper::Sortkeys = 1;
+
# Move any custom or old variables into a separate file.
if (scalar @old_vars) {
my $filename_old = "$filename.old";