From: Jo-Philipp Wich Date: Tue, 16 Jul 2013 10:35:40 +0000 (+0000) Subject: metadata.pl: use alphabetical order for menuconfig categories, also fixes random... X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3e675822c772369964e6ea215a65ffbd5e8d71b2;p=openwrt%2Fsvn-archive%2Farchive.git metadata.pl: use alphabetical order for menuconfig categories, also fixes random ordering of symbols in .config SVN-Revision: 37369 --- diff --git a/scripts/metadata.pl b/scripts/metadata.pl index 17040d9e36..41f4690f2d 100755 --- a/scripts/metadata.pl +++ b/scripts/metadata.pl @@ -616,7 +616,7 @@ EOF } print_package_features(); 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; } }