From: Adam Dickmeiss Date: Tue, 10 Jun 2003 12:46:04 +0000 (+0000) Subject: Fix unlink X-Git-Tag: tclrobot.0.2.0~15 X-Git-Url: http://git.indexdata.com/?p=tclrobot.git;a=commitdiff_plain;h=aa1324a4ad0174e25ae96f349caba2e25d18cadf Fix unlink --- diff --git a/robot.tcl b/robot.tcl index 35b1091..93604a8 100755 --- a/robot.tcl +++ b/robot.tcl @@ -1,5 +1,5 @@ #!/usr/bin/tclsh -# $Id: robot.tcl,v 1.39 2003/06/10 12:29:48 adam Exp $ +# $Id: robot.tcl,v 1.40 2003/06/10 12:46:04 adam Exp $ # proc RobotFileNext1 {area lead} { # puts "RobotFileNext1 area=$area lead=$lead" @@ -131,7 +131,7 @@ proc RobotFileUnlink {task area host path} { for {set i $l} {$i > 0} {incr i -1} { set path [join [lrange $comp 0 $i] /] if {![catch {glob $path/*}]} return - exec rmdir ./$path + exec rmdir $path } # puts "RobotFileUnlink end" }