Try to unbreak some MSVC builds following forward slash change.
Michael Paquier.
This commit is contained in:
parent
764ce22af3
commit
04f1542d39
@ -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;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user