set tcl_interactive 1
package require Wokutils
- msgprint -i -c "WOKTools_Replace:Execute" "Copying of WOKTools includes"
+ msgprint -i -c "WOKTools_Replace::Execute" "Copying of WOKTools includes"
if { [wokparam -e %Station $unit] != "wnt" } {
set copycmd "cp -p "
if { [wokparam -e %Station $unit] == "wnt" && $result != "" } {
set result 0
- }
+ } else { set result 1 }
if { ! $result } {
- msgprint -i -c "WOKTools_Replace:Execute" "Copy $source to $target"
+ msgprint -i -c "WOKTools_Replace::Execute" "Copy $source to $target"
if { [wokparam -e %Station $unit] != "wnt" } {
eval exec "chmod u+w $target"
}
eval exec "$copycmd $TheArgs"
} else {
- msgprint -i -c "WOKTools_Replace:Execute" "No change in $source"
+ msgprint -i -c "WOKTools_Replace::Execute" "No change in $source"
}
}
return 0;