mirror of
https://github.com/nasa/trick.git
synced 2025-01-22 04:18:09 +00:00
#295 Fix %imports with "include" in the path
This commit is contained in:
parent
56376215d5
commit
9e28d4094c
@ -394,7 +394,7 @@ sub process_file($$) {
|
||||
}
|
||||
|
||||
if ( $exclude == 0 ) {
|
||||
if ( $file_name =~ /include\/[^\.]+\.[^\.]+\"/ ) {
|
||||
if ( $file_name =~ /include\/[^\.\/]+\.[^\.]+\"/ ) {
|
||||
$file_name =~ s/(.*)include\/([^\.]+\.)[^\.]+\"/${1}swig\/${2}i\"/ ;
|
||||
} elsif ( $file_name =~ /\/([^\.\/]+\.)[^\.]+\"/ ) {
|
||||
$file_name =~ s/\/([^\.\/]+\.)[^\.]+\"/\/swig\/${1}i\"/ ;
|
||||
|
Loading…
Reference in New Issue
Block a user