metadata.pl: use alphabetical order for menuconfig categories, also fixes random...
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 16 Jul 2013 10:35:40 +0000 (10:35 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 16 Jul 2013 10:35:40 +0000 (10:35 +0000)
SVN-Revision: 37369

scripts/metadata.pl

index 17040d9e365a8808411be3b3dc613c188c633c64..41f4690f2d990dc79e056dbbd5385b78ca71d6fc 100755 (executable)
@@ -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;
        }
 }