Next | Program Repair Shop | 95 |
44 } else { 45 print "coping $source_node to $target_node\n" unless -e $target_node; ... 48 `$ENV{ComSpec} /c copy /b $copy_source_node $copy_target_node`; 49 }
Here the -e test is weird
If the file exists, we suppress the message, but do the copy anyway?
} elsif (! -e $dst_file) { print "Copying $src_file to $dst_file\n"; ... `$ENV{ComSpec} /c copy /b $copy_source_node $copy_target_node`; }
Next | Copyright © 2002 M. J. Dominus |