mirror of
https://codeberg.org/kiss-community/repo
synced 2024-08-19 12:46:58 +00:00
16 lines
474 B
Diff
16 lines
474 B
Diff
diff --git a/grub-core/genmoddep.awk b/grub-core/genmoddep.awk
|
|
index cc987a5..5e9f942 100644
|
|
--- a/grub-core/genmoddep.awk
|
|
+++ b/grub-core/genmoddep.awk
|
|
@@ -63,9 +63,7 @@ END {
|
|
}
|
|
modlist = ""
|
|
depcount[mod] = 0
|
|
- n = asorti(uniqmods, w)
|
|
- for (i = 1; i <= n; i++) {
|
|
- depmod = w[i]
|
|
+ for (depmod in uniqmods) {
|
|
modlist = modlist " " depmod;
|
|
inverse_dependencies[depmod] = inverse_dependencies[depmod] " " mod
|
|
depcount[mod]++
|