Commit d5bc6ce6 authored by Andrew Dunstan's avatar Andrew Dunstan

Allow case insensitive build version argument for MSVC.

Dilip Kumar.
parent 77035fa8
...@@ -39,11 +39,11 @@ my $vcver = Mkvcbuild::mkvcbuild($config); ...@@ -39,11 +39,11 @@ my $vcver = Mkvcbuild::mkvcbuild($config);
my $bconf = $ENV{CONFIG} || "Release"; my $bconf = $ENV{CONFIG} || "Release";
my $buildwhat = $ARGV[1] || ""; my $buildwhat = $ARGV[1] || "";
if ($ARGV[0] eq 'DEBUG') if (uc($ARGV[0]) eq 'DEBUG')
{ {
$bconf = "Debug"; $bconf = "Debug";
} }
elsif ($ARGV[0] ne "RELEASE") elsif (uc($ARGV[0]) ne "RELEASE")
{ {
$buildwhat = $ARGV[0] || ""; $buildwhat = $ARGV[0] || "";
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment