From: Anas Nashif Date: Tue, 30 Oct 2012 03:29:38 +0000 (-0700) Subject: require file X-Git-Tag: accepted/tizen/5.0/base/20181101.090254~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a83d4c9c1036594950a695487b6cbb36caeafbda;p=platform%2Fupstream%2Fautomake.git require file Change-Id: I577cc29c4181b0d1cf5f6139625f67fb01b7f8c1 --- diff --git a/bin/automake.in b/bin/automake.in index d356336..1717c84 100644 --- a/bin/automake.in +++ b/bin/automake.in @@ -7393,12 +7393,14 @@ sub required_file_check_or_copy my $fullfile = "$dir/$file"; my $found_it = 0; my $dangling_sym = 0; + my $thisdir = dirname ($fullfile); + my $thisfile = basename ($fullfile); if (-l $fullfile && ! -f $fullfile) { $dangling_sym = 1; } - elsif (dir_has_case_matching_file ($dir, $file)) + elsif (dir_has_case_matching_file ($thisdir, $thisfile)) { $found_it = 1; }