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

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

src/bootstrap/dist.rs

index df8962446ff1a11fae6500697e2c65738180f44b..feed4f6f67a67d3fec9328718de5f20b7b759e35 100644 (file)
@@ -72,6 +72,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())
     }
 }