Browse Source

output file needs to be closed before being deleted

pull/7/head
MAB 4 years ago
parent
commit
051836e0fc
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      scripts/write_project_tcl_git.tcl

+ 1
- 0
scripts/write_project_tcl_git.tcl View File

@ -732,6 +732,7 @@ proc wr_bd {} {
# Making sure BD is not locked # Making sure BD is not locked
set is_locked [get_property IS_LOCKED [get_files [list "$bd_file"] ] ] set is_locked [get_property IS_LOCKED [get_files [list "$bd_file"] ] ]
if { $is_locked == 1 } { if { $is_locked == 1 } {
close $a_global_vars(fh)
file delete $a_global_vars(script_file) file delete $a_global_vars(script_file)
if { $a_global_vars(b_arg_quiet) } { if { $a_global_vars(b_arg_quiet) } {
reset_msg_setting reset_msg_setting


Loading…
Cancel
Save