summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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";