Skip to content

Commit

Permalink
Make sure Windows environment vars are quoted.
Browse files Browse the repository at this point in the history
Thanks to Geoff Richards.
  • Loading branch information
turnstep committed Nov 10, 2004
1 parent 581e648 commit 455943e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ my $os = $^O;
print "OS: $os\n";
print "PostgreSQL version: $major_ver.$minor_ver.$patch\n";

if ($os =~ /Win32/) {
for ($POSTGRES_INCLUDE, $POSTGRES_LIB) {
$_ = qq{"$_"} if index($_,'"');
}
}

## Warn about older versions
if ($major_ver < 7 or ($major_ver == 7 and $minor_ver < 2)) {
print "\n****************\n";
Expand Down

0 comments on commit 455943e

Please sign in to comment.