summaryrefslogtreecommitdiff
path: root/rust/0001-bootstrap-Change-libexec-dir.patch
blob: 4411b46b7fc1616669981b4509eab60a3619b9ed (plain)
    1 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
    2 From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com>
    3 Date: Thu, 6 May 2021 20:14:58 +0200
    4 Subject: [PATCH] bootstrap: Change libexec dir
    5 
    6 ---
    7  src/bootstrap/dist.rs | 2 +-
    8  1 file changed, 1 insertion(+), 1 deletion(-)
    9 
   10 diff --git a/src/bootstrap/dist.rs b/src/bootstrap/dist.rs
   11 index be965971dbb6..f3fa15a8e2de 100644
   12 --- a/src/bootstrap/dist.rs
   13 +++ b/src/bootstrap/dist.rs
   14 @@ -976,7 +976,7 @@ fn run(self, builder: &Builder<'_>) -> Option<GeneratedTarball> {
   15          for dirent in fs::read_dir(cargo.parent().unwrap()).expect("read_dir") {
   16              let dirent = dirent.expect("read dir entry");
   17              if dirent.file_name().to_str().expect("utf8").starts_with("cargo-credential-") {
   18 -                tarball.add_file(&dirent.path(), "libexec", 0o755);
   19 +                tarball.add_file(&dirent.path(), "lib", 0o755);
   20              }
   21          }
   22  

Generated by cgit