From ba8a2dc44081d0542e3c36933c7e696314a1e962 Mon Sep 17 00:00:00 2001 From: Mark Rousskov Date: Wed, 3 Apr 2024 22:43:25 -0400 Subject: [PATCH] Touch unpacked rustc files too --- src/main.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index dcef492..5dd7aea 100644 --- a/src/main.rs +++ b/src/main.rs @@ -503,16 +503,18 @@ impl Context { .success() { // Unpack the rustc documentation into the new directory. + // // Touch all files as well (see above for why). run(Command::new("tar") - .arg("xf") + .arg("xfm") .arg(&tarball) .arg("--strip-components=7") .arg(&tarball_dir_new) .current_dir(&rustc_docs))?; } else { // Unpack the rustc documentation into the new directory. + // Touch all files as well (see above for why). run(Command::new("tar") - .arg("xf") + .arg("xfm") .arg(&tarball) .arg("--strip-components=6") .arg(&tarball_dir)