#!/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"
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"
}