diff options
author | Anas Nashif <anas.nashif@intel.com> | 2012-10-29 20:29:38 -0700 |
---|---|---|
committer | Anas Nashif <anas.nashif@intel.com> | 2012-10-29 20:29:38 -0700 |
commit | 51e01f8ad4df8729edba0c3aa643979e7d379ceb (patch) | |
tree | e9b40d8458086fd25416fc0ec96a4b7ec091537f | |
parent | 6a39eb6340bc3fec4717d09c98cecfdf6da6b139 (diff) | |
download | automake-51e01f8ad4df8729edba0c3aa643979e7d379ceb.tar.gz automake-51e01f8ad4df8729edba0c3aa643979e7d379ceb.tar.bz2 automake-51e01f8ad4df8729edba0c3aa643979e7d379ceb.zip |
require file
-rw-r--r-- | automake.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/automake.in b/automake.in index 5cf5a2c16..8d4b46371 100644 --- a/automake.in +++ b/automake.in @@ -7751,12 +7751,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; } |