fix for bug 3043788, use non-greedy regular expression, the value can contain "="

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7157 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
ligc 2010-08-20 05:33:50 +00:00
parent 2d1cb4d54e
commit 16ab21e6e3

View File

@ -1626,7 +1626,7 @@ sub readFileInput
push(@::fileobjnames, $objectname);
}
elsif (($l =~ /^\s*(.*)\s*=\s*(.*)\s*/) && (!$look_for_colon))
elsif (($l =~ /^\s*(.*?)\s*=\s*(.*)\s*/) && (!$look_for_colon))
{
my $attr = $1;
my $val = $2;