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=24f345dbe40bce8a6d653769c399d930db1bd70f;p=openwrt%2Fstaging%2Frobimarko.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; } }