Sfoglia il codice sorgente

metadata.pl: use alphabetical order for menuconfig categories, also fixes random ordering of symbols in .config

SVN-Revision: 37369
Jo-Philipp Wich 12 anni fa
parent
commit
24f345dbe4
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      scripts/metadata.pl

+ 1 - 1
scripts/metadata.pl

@@ -616,7 +616,7 @@ EOF
 	}
 	}
 	print_package_features();
 	print_package_features();
 	print_package_config_category 'Base system';
 	print_package_config_category 'Base system';
-	foreach my $cat (keys %category) {
+	foreach my $cat (sort {uc($a) cmp uc($b)} keys %category) {
 		print_package_config_category $cat;
 		print_package_config_category $cat;
 	}
 	}
 }
 }