From d5bc6ce6ac20e6de8b61946977db14e13acec2a0 Mon Sep 17 00:00:00 2001 From: Andrew Dunstan Date: Thu, 23 Jan 2014 12:18:15 -0500 Subject: [PATCH] Allow case insensitive build version argument for MSVC. Dilip Kumar. --- src/tools/msvc/build.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tools/msvc/build.pl b/src/tools/msvc/build.pl index c947bbe318..e107d4120a 100644 --- a/src/tools/msvc/build.pl +++ b/src/tools/msvc/build.pl @@ -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] || ""; } -- GitLab