make_makefiles: Add check for incorrect module name.
This commit is contained in:
parent
2aaafbb9e8
commit
a1a8036bbb
|
@ -373,6 +373,7 @@ sub update_dlls(@)
|
|||
}
|
||||
else
|
||||
{
|
||||
die "invalid module $module" unless $module =~ /\./;
|
||||
(my $mod = $module) =~ s/\.dll$//;
|
||||
die "invalid directory $dir for module $module\n" unless $mod eq $dir;
|
||||
$directories{$module} = $dir;
|
||||
|
|
Loading…
Reference in New Issue