364 | | ui_debug "Using $tar" |
365 | | set unarchive.cmd "$tar" |
366 | | set unarchive.pre_args {-xvpf} |
| 364 | if {[catch {system "echo \"666f6f000000000000000000000000000000000000000000000000000000 |
| 365 | 000000000000000000000000000000000000000000000000000000000000 |
| 366 | 000000000000000000000000000000000000000000000000000000000000 |
| 367 | 000000000000000000003030303634342000303030373635200030303030 |
| 368 | 323420003030303030303030303030203132343531323633353135203031 |
| 369 | 323137340020300000000000000000000000000000000000000000000000 |
| 370 | 000000000000000000000000000000000000000000000000000000000000 |
| 371 | 000000000000000000000000000000000000000000000000000000000000 |
| 372 | 000000000000000000000000000000000075737461720030306d66656972 |
| 373 | 690000000000000000000000000000000000000000000000000000737461 |
| 374 | 666600000000000000000000000000000000000000000000000000000030 |
| 375 | 303030303020003030303030302000000000000000000000000000000000 |
| 376 | 000000000000000000000000000000000000000000000000000000000000 |
| 377 | 000000000000000000000000000000000000000000000000000000000000 |
| 378 | 000000000000000000000000000000000000000000000000000000000000 |
| 379 | 000000000000000000000000000000000000000000000000000000000000 |
| 380 | 000000000000000000000000000000000000000000000000000000000000 |
| 381 | 0000\" | xxd -r -p | bsdtar --hfsCompression -xqOf - foo > /dev/null"} result]} { |
| 382 | ui_debug "Using $tar" |
| 383 | set unarchive.cmd "$tar" |
| 384 | set unarchive.pre_args {-xvpf} |
| 385 | } else { |
| 386 | ui_debug "Using bsdtar" |
| 387 | set unarchive.cmd "bsdtar" |
| 388 | set unarchive.pre_args {--hfsCompression -xvpf} |
| 389 | } |