Исправлена ошибка при добавлении пути к rac с пробелами

master
Sergey Kalinin 2018-08-06 08:13:59 +03:00
parent 9c89247171
commit 521e301dfd
1 changed files with 2 additions and 1 deletions

View File

@ -36,7 +36,7 @@ if {[file exists $rac_cmd] == 0} {
set file [open [file join $dir(work) rac_gui.cfg] "w"]
while {[gets $orig_file line] >=0 } {
if {[string match "set rac_cmd*" $line]} {
puts $file "set rac_cmd $rac_cmd"
puts $file "set rac_cmd \"$rac_cmd\""
} else {
puts $file $line
}
@ -102,3 +102,4 @@ if [file exists [file join $dir(work) 1c_srv.cfg]] {