From 65e0af75a66894cf7f3d0d55ec231ab15696c895 Mon Sep 17 00:00:00 2001 From: Tzafrir Cohen Date: Mon, 13 Jul 2009 16:18:16 +0300 Subject: Make sure (XML) dependencies are upper-case Make sure values read from XML files for 'use' or 'depend' are upper-case. --- menuselect/menuselect | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/menuselect/menuselect b/menuselect/menuselect index 792bfd5..32ba175 100755 --- a/menuselect/menuselect +++ b/menuselect/menuselect @@ -220,6 +220,11 @@ sub parse_menuselect_xml_file($) { if (! exists $member->{$key}) { $member->{$key} = []; } + + # Make sure dependencies are upper-case. + # FIXME: this is not the proper place for such a fix + $val = uc($val) if ($key =~ /Depend|Use/); + # Using "unshift' rather than 'push'. # For a singleton value this makes the action an # override, as only the first value counts. -- cgit v1.2.3