File automake-require_file.patch of Package automake-testsuite
---
bin/automake.in | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
Index: automake-1.16.1/bin/automake.in
===================================================================
--- automake-1.16.1.orig/bin/automake.in 2018-03-08 21:27:05.000000000 +0100
+++ automake-1.16.1/bin/automake.in 2018-03-21 12:35:37.288053253 +0100
@@ -7540,12 +7540,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;
}