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
This commit is contained in:
parent
978de93cf2
commit
120be1576a
@ -309,7 +309,7 @@ while (<SOURCE>) {
|
|||||||
if ($make_accelmap) {
|
if ($make_accelmap) {
|
||||||
print "<BindingSet name=\"" . $bindings_name . "\">\n";
|
print "<BindingSet name=\"" . $bindings_name . "\">\n";
|
||||||
|
|
||||||
foreach $owner (keys %owner_bindings) {
|
foreach $owner (sort keys %owner_bindings) {
|
||||||
print " <Bindings name=\"$owner\">\n <Press>\n";
|
print " <Bindings name=\"$owner\">\n <Press>\n";
|
||||||
$bindings = $owner_bindings{$owner};
|
$bindings = $owner_bindings{$owner};
|
||||||
shift (@$bindings); # remove initial empty element
|
shift (@$bindings); # remove initial empty element
|
||||||
|
Loading…
Reference in New Issue
Block a user