André Hentschel : winemaker: Ignore files not found by the search function.
Module: wine Branch: master Commit: f4679761b7a6385452bba6a12db9b1e3eae5ed06 URL: http://source.winehq.org/git/wine.git/?a=commit;h=f4679761b7a6385452bba6a12d... Author: André Hentschel <nerv(a)dawncrow.de> Date: Tue Jun 22 18:01:07 2010 +0200 winemaker: Ignore files not found by the search function. --- tools/winemaker | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/tools/winemaker b/tools/winemaker index bed499d..78034fa 100755 --- a/tools/winemaker +++ b/tools/winemaker @@ -782,6 +782,7 @@ sub source_scan_project_file($$$) } elsif (/^SOURCE=(.*)$/) { my @components=split /[\/\\]+/, $1; $sfilet=search_from($path, \@components); + if (!defined $sfilet) { next; } if ($sfilet =~ /\.c$/i and $sfilet !~ /\.(dbg|spec)\.c$/) { push @sources_c,$sfilet; } elsif ($sfilet =~ /\.(cpp|cxx)$/i) {
participants (1)
-
Alexandre Julliard