Skip to content
Snippets Groups Projects
Commit 04f1542d authored by Andrew Dunstan's avatar Andrew Dunstan
Browse files

Try to unbreak some MSVC builds following forward slash change.

Michael Paquier.
parent 764ce22a
No related branches found
No related tags found
No related merge requests found
...@@ -71,7 +71,7 @@ EOF ...@@ -71,7 +71,7 @@ EOF
foreach my $fileNameWithPath (sort keys %{ $self->{files} }) foreach my $fileNameWithPath (sort keys %{ $self->{files} })
{ {
confess "Bad format filename '$fileNameWithPath'\n" confess "Bad format filename '$fileNameWithPath'\n"
unless ($fileNameWithPath =~ /^(.*)\\([^\\]+)\.(c|cpp|y|l|rc)$/); unless ($fileNameWithPath =~ m!^(.*)/([^/]+)\.(c|cpp|y|l|rc)$!);
my $dir = $1; my $dir = $1;
my $file = $2; my $file = $2;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment