André Hentschel : winemaker: Canonicalize directory name if used as target name.
Module: wine Branch: master Commit: 6a5be43650153c9fc1d9aacf7ce41945f5213d56 URL: http://source.winehq.org/git/wine.git/?a=commit;h=6a5be43650153c9fc1d9aacf7c... Author: André Hentschel <nerv(a)dawncrow.de> Date: Thu Apr 23 20:41:32 2009 +0200 winemaker: Canonicalize directory name if used as target name. --- tools/winemaker | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/winemaker b/tools/winemaker index f3a31ce..eca6417 100755 --- a/tools/winemaker +++ b/tools/winemaker @@ -1333,9 +1333,9 @@ sub source_scan_directory($$$$) } $name =~ s+(/|\.[^.]*)$++; if ($opt_target_type == $TT_DLL) { - $name = "$name.dll"; + $name = canonize($name).".dll"; } else { - $name = "$name.exe"; + $name = canonize($name).".exe"; } $targets{$name}=1; }
participants (1)
-
Alexandre Julliard