d-bootstrap-permit-symlink-in-docs
authorDebian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Mon, 12 Jun 2023 16:36:56 +0000 (17:36 +0100)
committerFabian Grünbichler <debian@fabian.gruenbichler.email>
Mon, 12 Jun 2023 16:36:56 +0000 (17:36 +0100)
partial revert of b9eedea4b0368fd1f00f204db75109ff444fab5b upstream

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

src/bootstrap/dist.rs

index 08f789a49699da7cf1f1745227affc98ad47ad0e..6db1da542938bc0103192d0f4f9d568eb1300998 100644 (file)
@@ -83,6 +83,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())
     }
 }