require file 25/169525/1
authorAnas Nashif <anas.nashif@intel.com>
Tue, 30 Oct 2012 03:29:38 +0000 (20:29 -0700)
committerWonki Kim <wonki_.kim@samsung.com>
Wed, 7 Feb 2018 08:27:41 +0000 (17:27 +0900)
Change-Id: I577cc29c4181b0d1cf5f6139625f67fb01b7f8c1

bin/automake.in

index d356336..1717c84 100644 (file)
@@ -7393,12 +7393,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;
     }