1
0
mirror of https://bitbucket.org/svk28/rac-gui synced 2024-11-11 00:16:53 +00:00

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

This commit is contained in:
Sergey Kalinin 2018-08-06 08:13:59 +03:00
parent 9c89247171
commit 521e301dfd

View File

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