| commit | 7b5cbdb261477461c2527d344dfbb47f7094530a | [log] [tgz] |
|---|---|---|
| author | Simon C. Ion <ion.simon.c@gmail.com> | Fri Dec 19 18:23:45 2008 -0600 |
| committer | Alexandre Julliard <julliard@winehq.org> | Sat Dec 20 10:59:24 2008 +0100 |
| tree | 802b4b13775a36caf83ea64b58cecf2ddc327474 | |
| parent | 519478e0485cec9cff58dadc494dfc97ccce7ed9 [diff] [blame] |
winemaker: Correctly process directories containing regexp metacharacters.
diff --git a/tools/winemaker b/tools/winemaker index b70e08d..918cd2a 100755 --- a/tools/winemaker +++ b/tools/winemaker
@@ -1103,7 +1103,7 @@ my $directory=get_directory_contents $dirname; my $found; foreach my $dentry (@$directory) { - if ($dentry =~ /^$component$/i or + if ($dentry =~ /^\Q$component\E$/i or (defined $renamed and $dentry =~ /^$renamed$/i) ) { $dirname.="$dentry/";