5 ######################################################
6 # Resource_Manager class doen't return status of saving resources in a file.
7 ######################################################
8 # Add method BuildPath to OSD_Directory
9 ######################################################
12 ######################################################################
14 ######################################################################
18 set log [OCC181 OCC181 ${imagedir} ${tmp}/1 0]
20 set list [split ${log}]
21 set ll [llength ${list}]
22 set status [lindex ${list} [expr ${ll} - 2] ]
24 if { ${status} == "TRUE"} then {
30 if { ! [file exists ${tmp}/1/OCC181] } {
31 puts "Error: user resource file is not found!"
34 file delete -force ${tmp}/1