Browse Source

Skip ip_output_repo when saving properties, as it contains an absolute path

pull/5/head
Ricardo Barbedo 7 years ago
parent
commit
ef83f0d8fa
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      scripts/write_project_tcl_git.tcl

+ 5
- 0
scripts/write_project_tcl_git.tcl View File

@ -852,6 +852,11 @@ proc write_props { proj_dir proj_name get_what tcl_obj type } {
# skip read-only properties # skip read-only properties
if { [lsearch $read_only_props $prop] != -1 } { continue } if { [lsearch $read_only_props $prop] != -1 } { continue }
# skip ip_output_repo (contains absolute path)
if {
[string equal $type "project"] && [string equal -nocase $prop "ip_output_repo"]
} { continue }
set prop_type "unknown" set prop_type "unknown"
if { [string equal $type "run"] } { if { [string equal $type "run"] } {
if { [regexp "STEPS" $prop] } { if { [regexp "STEPS" $prop] } {


Loading…
Cancel
Save