SHA256
1
0
forked from pool/automake
automake/automake-require_file.patch
Stephan Kulow 9fb7e3db29 Accepting request 156497 from openSUSE:Factory
as I reverted the automake version in factory - to put in a staging project - here is the update again

OBS-URL: https://build.opensuse.org/request/show/156497
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/automake?expand=0&rev=27
2013-02-27 05:43:54 +00:00

21 lines
571 B
Diff

Index: automake.in
===================================================================
--- automake.in.orig
+++ automake.in
@@ -7750,12 +7750,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;
}