symbols picked up from CWD are saved in parent design without absolute paths even if the CWD is not in XSCHEM_LIBRARY_PATH list of places.
This commit is contained in:
parent
d656d4198a
commit
8b5ed3f32e
|
|
@ -5920,7 +5920,13 @@ proc rel_sym_path {symbol} {
|
|||
if {$name eq {} } {
|
||||
# no known lib, so return full path
|
||||
set name ${symbol}
|
||||
if {[file dirname $name] eq $curr_dirname} {
|
||||
# remove path if file is in pwd
|
||||
set name [file tail $name]
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
return $name
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue