]> OCCT Git - occt-wok.git/commitdiff
No comments
authorcas <cas@opencascade.com>
Wed, 10 Nov 1999 18:01:32 +0000 (18:01 +0000)
committercas <cas@opencascade.com>
Wed, 10 Nov 1999 18:01:32 +0000 (18:01 +0000)
src/WOKTools/WOKTools_Replace.tcl

index ba8e21ad94b674e62b7d18d29aa3ae1f6702dc64..2fffb9849b002a6faa4dff6be471d7fc6a64b156 100755 (executable)
@@ -29,7 +29,7 @@ proc WOKTools_Replace:Execute { unit args } {
     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 "
@@ -54,16 +54,16 @@ proc WOKTools_Replace:Execute { unit args } {
 
        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;