Alexandre Julliard : make_makefiles: Add check for incorrect module
name.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Jul 31 09:07:30 CDT 2007
Module: wine
Branch: master
Commit: a1a8036bbb652a0ec6f6caf4535aa1c76de3f072
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a1a8036bbb652a0ec6f6caf4535aa1c76de3f072
Author: Alexandre Julliard <julliard at winehq.org>
Date: Tue Jul 31 16:00:09 2007 +0200
make_makefiles: Add check for incorrect module name.
---
tools/make_makefiles | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/tools/make_makefiles b/tools/make_makefiles
index 513b5b1..05b90da 100755
--- a/tools/make_makefiles
+++ b/tools/make_makefiles
@@ -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;
More information about the wine-cvs
mailing list