16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
if {[info exists key]} {
set workdir [file join $outdir $key]
}
if {[info exists workdir]} {
if {[file exists $workdir]} {
set fd [open [file join $workdir filename]]
set filename [gets $fd]
close $fd
set outfile [file join $workdir $filename]
} else {
set status "Queued"
}
}
|
|
|
>
>
|
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
if {[info exists key]} {
set workdir [file join $outdir $key]
}
if {[info exists workdir]} {
if {[file exists $workdir]} {
set fd [open [file join $workdir buildinfo]]
set buildinfo_list [gets $fd]
close $fd
array set buildinfo $buildinfo_list
set filename $buildinfo(filename)
set outfile [file join $workdir $filename]
} else {
set status "Queued"
}
}
|