projects
/
users
/
rhaas
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77035fa
)
Allow case insensitive build version argument for MSVC.
author
Andrew Dunstan
<
[email protected]
>
Thu, 23 Jan 2014 17:18:15 +0000
(12:18 -0500)
committer
Andrew Dunstan
<
[email protected]
>
Thu, 23 Jan 2014 17:18:15 +0000
(12:18 -0500)
Dilip Kumar.
src/tools/msvc/build.pl
patch
|
blob
|
blame
|
history
diff --git
a/src/tools/msvc/build.pl
b/src/tools/msvc/build.pl
index c947bbe318e36a1f7ecf6c3dbd15c17f3e008997..e107d4120a32679c69dd7969af52db9825bbdc4e 100644
(file)
--- 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] || "";
}