diff options
author | Philippe M. Chiasson <gozer@mozilla.com> | 2015-11-05 22:33:53 +0100 |
---|---|---|
committer | David Lawrence <dkl@mozilla.com> | 2015-11-05 22:33:53 +0100 |
commit | 60bde01b7ffc861a7bfba352af015b2b154e6f1e (patch) | |
tree | b8da7a2afae998dfdbdee426c04fa2bc803cd44c | |
parent | 534fc2123e40b7517aeaffd709faf72af97ac3b8 (diff) | |
download | bugzilla-60bde01b7ffc861a7bfba352af015b2b154e6f1e.tar.gz bugzilla-60bde01b7ffc861a7bfba352af015b2b154e6f1e.tar.xz |
Bug 1221998 - Make sure localconfig is generated deterministically
-rw-r--r-- | Bugzilla/Install/Localconfig.pm | 3 |
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"; |