diff options
author | Anas Nashif <anas.nashif@intel.com> | 2012-10-29 20:29:38 -0700 |
---|---|---|
committer | Philippe Coval <philippe.coval@open.eurogiciel.org> | 2014-11-28 16:51:05 +0100 |
commit | 99c96908f8682106575fab48ce6780f73a100026 (patch) | |
tree | cf11cd812ea4fb0c083fc63f356055ce78d4ce13 | |
parent | 0d0e923dd2df3841bd789f6a6f8f69de84eb4c73 (diff) | |
download | automake-99c96908f8682106575fab48ce6780f73a100026.tar.gz automake-99c96908f8682106575fab48ce6780f73a100026.tar.bz2 automake-99c96908f8682106575fab48ce6780f73a100026.zip |
require file
-rw-r--r-- | bin/automake.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/automake.in b/bin/automake.in index 283d1bbfe..967b0b40d 100644 --- a/bin/automake.in +++ b/bin/automake.in @@ -7384,12 +7384,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; } |