From 33303b5cece071b13aafb689eed9faa7ca79efcd Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 1 Sep 2023 18:15:30 +0200 Subject: [PATCH] scripts/package-metadata.pl: sort dependency keys This makes it easier to keep track of changes in the generated output, when the script is modified Signed-off-by: Felix Fietkau --- scripts/package-metadata.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/package-metadata.pl b/scripts/package-metadata.pl index 11f1bc4bcd..3e9e4e986e 100755 --- a/scripts/package-metadata.pl +++ b/scripts/package-metadata.pl @@ -232,7 +232,7 @@ sub mconf_depends { mconf_depends($pkgname, $tdep->[0], 1, $dep, $seen, $tdep->[1]); } - foreach my $depend (keys %$dep) { + foreach my $depend (sort keys %$dep) { my $m = $dep->{$depend}; $res .= "\t\t$m $depend\n"; } -- 2.30.2