Skip to content
Snippets Groups Projects
Commit d5bc6ce6 authored by Andrew Dunstan's avatar Andrew Dunstan
Browse files

Allow case insensitive build version argument for MSVC.

Dilip Kumar.
parent 77035fa8
No related branches found
No related tags found
No related merge requests found
...@@ -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] || "";
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment