forked from pool/automake
935f237788
Copy from Base:System/automake based on submit request 18716 from user coolo OBS-URL: https://build.opensuse.org/request/show/18716 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/automake?expand=0&rev=15
21 lines
631 B
Diff
21 lines
631 B
Diff
Index: automake.in
|
|
===================================================================
|
|
--- automake.in.orig
|
|
+++ automake.in
|
|
@@ -7768,12 +7768,14 @@ sub require_file_internal ($$$@)
|
|
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;
|
|
maybe_push_required_file ($dir, $file, $fullfile);
|