Skip to content

Commit 219ca7f

Browse files
Touch unpacked rustc files too
1 parent 72d51f4 commit 219ca7f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/main.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -503,16 +503,18 @@ impl Context {
503503
.success()
504504
{
505505
// Unpack the rustc documentation into the new directory.
506+
// // Touch all files as well (see above for why).
506507
run(Command::new("tar")
507-
.arg("xf")
508+
.arg("xfm")
508509
.arg(&tarball)
509510
.arg("--strip-components=7")
510511
.arg(&tarball_dir_new)
511512
.current_dir(&rustc_docs))?;
512513
} else {
513514
// Unpack the rustc documentation into the new directory.
515+
// Touch all files as well (see above for why).
514516
run(Command::new("tar")
515-
.arg("xf")
517+
.arg("xfm")
516518
.arg(&tarball)
517519
.arg("--strip-components=6")
518520
.arg(&tarball_dir)

0 commit comments

Comments
 (0)