projects
/
openwrt
/
staging
/
ldir.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7049ea9
)
scripts/package-metadata.pl: sort dependency keys
author
Felix Fietkau
<nbd@nbd.name>
Fri, 1 Sep 2023 16:15:30 +0000
(18:15 +0200)
committer
Felix Fietkau
<nbd@nbd.name>
Fri, 1 Sep 2023 16:34:20 +0000
(18:34 +0200)
This makes it easier to keep track of changes in the generated output,
when the script is modified
Signed-off-by: Felix Fietkau <nbd@nbd.name>
scripts/package-metadata.pl
patch
|
blob
|
history
diff --git
a/scripts/package-metadata.pl
b/scripts/package-metadata.pl
index 11f1bc4bcd4b54fbe7df4c68f6f429256511525a..3e9e4e986e9f7ad62e64c301bd3d7bee0a14238f 100755
(executable)
--- 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";
}