From: Felix Fietkau Date: Fri, 1 Sep 2023 16:15:30 +0000 (+0200) Subject: scripts/package-metadata.pl: sort dependency keys X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=33303b5cece071b13aafb689eed9faa7ca79efcd;p=openwrt%2Fstaging%2Fthess.git 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 --- 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"; }