Changeset 1715 for trunk/examples/zoo/binary/tardir.tcl
- Timestamp:
- May 17, 2010, 6:26:29 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/zoo/binary/tardir.tcl
r702 r1715 21 21 close $fid 22 22 23 catch {exec tar tvzf $file} dir 23 set status [catch {exec tar tvzf $file} result] 24 24 file delete -force $file 25 25 26 if {$status != 0} { 27 puts stderr "ERROR: $result" 28 exit 1 29 } 30 26 31 $driver put output.string(dir).about.label "Contents" 27 $driver put output.string(dir).current $ dir32 $driver put output.string(dir).current $result 28 33 29 34 $driver put output.string(tarball).about.label "Original Tar File"
Note: See TracChangeset
for help on using the changeset viewer.