d-bootstrap-permit-symlink-in-docs
authorDebian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Wed, 13 Sep 2023 11:57:58 +0000 (12:57 +0100)
committerFabian Grünbichler <debian@fabian.gruenbichler.email>
Wed, 13 Sep 2023 11:57:58 +0000 (12:57 +0100)
partial revert of b9eedea4b0368fd1f00f204db75109ff444fab5b upstream

Gbp-Pq: Name d-bootstrap-permit-symlink-in-docs.patch

src/bootstrap/dist.rs

index 214442314d73350a97f8844e3401b975d60acc34..f2ef975d72d9b510f2efbeceb0ede0c3417b8390 100644 (file)
@@ -79,6 +79,7 @@ impl Step for Docs {
         tarball.set_product_name("Rust Documentation");
         tarball.add_bulk_dir(&builder.doc_out(host), dest);
         tarball.add_file(&builder.src.join("src/doc/robots.txt"), dest, 0o644);
+        tarball.permit_symlinks(true);
         Some(tarball.generate())
     }
 }