Allow case insensitive build version argument for MSVC.

Dilip Kumar.
This commit is contained in:
Andrew Dunstan 2014-01-23 12:18:15 -05:00
parent 77035fa8a9
commit d5bc6ce6ac
1 changed files with 2 additions and 2 deletions

View File

@ -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] || "";
}