提交 d5bc6ce6 编写于 作者: A Andrew Dunstan

Allow case insensitive build version argument for MSVC.

Dilip Kumar.
上级 77035fa8
......@@ -39,11 +39,11 @@ my $vcver = Mkvcbuild::mkvcbuild($config);
my $bconf = $ENV{CONFIG} || "Release";
my $buildwhat = $ARGV[1] || "";
if ($ARGV[0] eq 'DEBUG')
if (uc($ARGV[0]) eq 'DEBUG')
{
$bconf = "Debug";
}
elsif ($ARGV[0] ne "RELEASE")
elsif (uc($ARGV[0]) ne "RELEASE")
{
$buildwhat = $ARGV[0] || "";
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册