Content-Length: 268372 | pFad | http://github.com/postgrespro/postgres/commit/854adb83711da8fda2a8f028c27ad8956179c04a

41 Replace backslashes by forward slashes in MSVC build code · postgrespro/postgres@854adb8 · GitHub
Skip to content

Commit 854adb8

Browse files
committed
Replace backslashes by forward slashes in MSVC build code
This makes it possible to run some stages of these build scripts on non-Windows systems. That way, we can more easily test whether file moves or makefile changes might break the MSVC build. Peter Eisentraut and Michael Paquier
1 parent 410cbfd commit 854adb8

File tree

4 files changed

+262
-264
lines changed

4 files changed

+262
-264
lines changed

src/tools/msvc/MSBuildProject.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ EOF
127127
foreach my $fileNameWithPath (sort keys %{ $self->{files} })
128128
{
129129
confess "Bad format filename '$fileNameWithPath'\n"
130-
unless ($fileNameWithPath =~ /^(.*)\\([^\\]+)\.(c|cpp|y|l|rc)$/);
130+
unless ($fileNameWithPath =~ m!^(.*)/([^/]+)\.(c|cpp|y|l|rc)$!);
131131
my $dir = $1;
132132
my $fileName = $2;
133133
if ($fileNameWithPath =~ /\.y$/ or $fileNameWithPath =~ /\.l$/)

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/854adb83711da8fda2a8f028c27ad8956179c04a

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy