Commit b7d3a845 authored by Magnus Hagander's avatar Magnus Hagander

xcopy can only deal with forward-slashed paths when it's quoted - needed

for "vcregress check" to work.
Per report from Dave Page.
parent 9477f12e
......@@ -3,7 +3,7 @@ package Install;
#
# Package that provides 'make install' functionality for msvc builds
#
# $PostgreSQL: pgsql/src/tools/msvc/Install.pm,v 1.6 2007/03/29 20:48:26 mha Exp $
# $PostgreSQL: pgsql/src/tools/msvc/Install.pm,v 1.7 2007/04/02 12:11:26 mha Exp $
#
use strict;
use warnings;
......@@ -67,6 +67,8 @@ sub Install
CopyIncludeFiles($target);
GenerateNLSFiles($target,$config->{nls}) if ($config->{nls});
print "Installation complete.\n";
}
sub EnsureDirectories
......@@ -336,7 +338,7 @@ sub CopyIncludeFiles
EnsureDirectories($target . '/include/postgresql/server', $d);
system(
"xcopy /s /i /q /r /y src\\include\\$d\\*.h $target\\include\\postgresql\\server\\$d\\")
"xcopy /s /i /q /r /y src\\include\\$d\\*.h \"$target\\include\\postgresql\\server\\$d\\\"")
&& croak("Failed to copy include directory $d\n");
}
closedir($D);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment