Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit854adb8

Browse files
committed
Replace backslashes by forward slashes in MSVC build code
This makes it possible to run some stages of these build scripts onnon-Windows systems. That way, we can more easily test whether filemoves or makefile changes might break the MSVC build.Peter Eisentraut and Michael Paquier
1 parent410cbfd commit854adb8

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
foreachmy$fileNameWithPath (sortkeys %{$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)

[8]ページ先頭

©2009-2025 Movatter.jp