mirror of
https://github.com/postgres/postgres.git
synced 2025-08-09 17:03:00 +03:00
Allow case insensitive build version argument for MSVC.
Dilip Kumar.
This commit is contained in:
@@ -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] || "";
|
||||
}
|
||||
|
Reference in New Issue
Block a user