d-bootstrap-permit-symlink-in-docs
authorDebian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Sun, 10 Sep 2023 17:22:53 +0000 (18:22 +0100)
committerFabian Grünbichler <debian@fabian.gruenbichler.email>
Sun, 10 Sep 2023 17:22:53 +0000 (18:22 +0100)
partial revert of b9eedea4b0368fd1f00f204db75109ff444fab5b upstream

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

src/bootstrap/dist.rs

index 12dee943b12f468f5f223c228bb7617316985ca9..3bb1bc4d6e0a8617e956e5e60c8ed4b997e51f6b 100644 (file)
@@ -78,6 +78,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())
     }
 }