mirror of
https://github.com/nasa/trick.git
synced 2024-12-18 20:57:55 +00:00
library dependencies are lost
Removed a double dot ".." I introduced into file names.
This commit is contained in:
parent
ffe32e3c99
commit
8b6a4efbad
@ -23,7 +23,7 @@ sub read_lib_deps($@) {
|
||||
next if ( $l =~ /^-|\.a$/ ) ;
|
||||
$non_lib_processed_files{$l} = 1 ;
|
||||
my ( $file, $dir, $suffix) = fileparse($l, qr/\.[^.]*/) ;
|
||||
my ($lib_dep_file_name) = "build$dir${file}.${suffix}.lib_deps" ;
|
||||
my ($lib_dep_file_name) = "build$dir${file}${suffix}.lib_deps" ;
|
||||
if ( -e $lib_dep_file_name ) {
|
||||
open FH, "$lib_dep_file_name" or die 'cannot open $lib_dep_file_name' ;
|
||||
my (@all_lines) = <FH> ;
|
||||
|
@ -136,7 +136,7 @@ sub write_lib_deps($) {
|
||||
|
||||
# Build the library dependencies file name to store results
|
||||
my ( $file, $dir, $suffix) = fileparse($source_file_name, qr/\.[^.]*/) ;
|
||||
my ($lib_dep_file_name) = "build$dir${file}.${suffix}.lib_deps" ;
|
||||
my ($lib_dep_file_name) = "build$dir${file}${suffix}.lib_deps" ;
|
||||
if ( ! -e "build$dir" ) {
|
||||
make_path("build$dir") ;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user