Commit a1a8036b authored by Alexandre Julliard's avatar Alexandre Julliard

make_makefiles: Add check for incorrect module name.

parent 2aaafbb9
...@@ -373,6 +373,7 @@ sub update_dlls(@) ...@@ -373,6 +373,7 @@ sub update_dlls(@)
} }
else else
{ {
die "invalid module $module" unless $module =~ /\./;
(my $mod = $module) =~ s/\.dll$//; (my $mod = $module) =~ s/\.dll$//;
die "invalid directory $dir for module $module\n" unless $mod eq $dir; die "invalid directory $dir for module $module\n" unless $mod eq $dir;
$directories{$module} = $dir; $directories{$module} = $dir;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment