Skip to content

Commit 04f1542

Browse files
committed
Try to unbreak some MSVC builds following forward slash change.
Michael Paquier.
1 parent 764ce22 commit 04f1542

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/msvc/VCBuildProject.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ EOF
7171
foreach my $fileNameWithPath (sort keys %{ $self->{files} })
7272
{
7373
confess "Bad format filename '$fileNameWithPath'\n"
74-
unless ($fileNameWithPath =~ /^(.*)\\([^\\]+)\.(c|cpp|y|l|rc)$/);
74+
unless ($fileNameWithPath =~ m!^(.*)/([^/]+)\.(c|cpp|y|l|rc)$!);
7575
my $dir = $1;
7676
my $file = $2;
7777

0 commit comments

Comments
 (0)