Improve variable parsing when generating MINFO
[openssl.git] / util / mkfiles.pl
index 7dff4a695d9ce89cb631c668c77143fe26f4ab57..42db4666887c7f35ac5f80527ea817f1b185fe16 100755 (executable)
@@ -110,7 +110,7 @@ while (<IN>)
        {
        chop;
        s/#.*//;
-       if (/^(\S+)\s*=\s*(.*)$/)
+       if (/^([^\s=]+)\s*=\s*(.*)$/)
                {
                $o="";
                ($s,$b)=($1,$2);