From 120be1576a02bd1431d345d4581e20e2301fc7d6 Mon Sep 17 00:00:00 2001 From: Jelle van der Waa Date: Mon, 20 Jan 2020 16:59:00 +0100 Subject: [PATCH] tools: make ardour.keys generation reproducible By default perl hashes are random when iterating over them this makes ardour not reproducible. As it ships with a random order generated ardour.keys file, simply sorting the keys before iterating over them makes the file reproducible. Motivation: https://reproducible-builds.org --- tools/fmt-bindings | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/fmt-bindings b/tools/fmt-bindings index d2dd1adfca..4940b04524 100755 --- a/tools/fmt-bindings +++ b/tools/fmt-bindings @@ -309,7 +309,7 @@ while () { if ($make_accelmap) { print "\n"; - foreach $owner (keys %owner_bindings) { + foreach $owner (sort keys %owner_bindings) { print " \n \n"; $bindings = $owner_bindings{$owner}; shift (@$bindings); # remove initial empty element