mirror of https://github.com/postgres/postgres
Allow case insensitive build version argument for MSVC.
Dilip Kumar.
This commit is contained in:
parent
77035fa8a9
commit
d5bc6ce6ac
|
@ -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] || "";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue