projects
/
platform
/
upstream
/
automake.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a39eb6
)
require file
author
Anas Nashif
<anas.nashif@intel.com>
Tue, 30 Oct 2012 03:29:38 +0000
(20:29 -0700)
committer
Anas Nashif
<anas.nashif@intel.com>
Tue, 30 Oct 2012 03:29:38 +0000
(20:29 -0700)
automake.in
patch
|
blob
|
history
diff --git
a/automake.in
b/automake.in
index
5cf5a2c
..
8d4b463
100644
(file)
--- 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, $this
file))
{
$found_it = 1;
}