Skip to content

Commit

Permalink
Projects without board_part generate project_info.tcl with placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
Elod Gyorgy committed Sep 24, 2020
1 parent 41852e0 commit 6c2de1c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions digilent_vivado_checkin.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -208,10 +208,9 @@ if {[file exists $repo_path/project_info.tcl] == 0 || $force_overwrite_info_scri
<target_language> $target_language \
<directives> $directives \
]

if {$board_part ne ""} {
lappend var_map <board_part> $board_part
}

# Even if current_board_part is empty, the replacement must be made, otherwise placeholder will be considered a board name upon checkout
lappend var_map <board_part> $board_part

set file_name $repo_path/project_info.tcl
set dfid [open $file_name "w"]
Expand Down

0 comments on commit 6c2de1c

Please sign in to comment.