2021-05-07 00:05:08 +00:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
|
|
From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com>
|
|
|
|
Date: Thu, 6 May 2021 20:14:58 +0200
|
|
|
|
Subject: [PATCH] bootstrap: Change libexec dir
|
|
|
|
|
|
|
|
---
|
|
|
|
src/bootstrap/dist.rs | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
|
|
|
diff --git a/src/bootstrap/dist.rs b/src/bootstrap/dist.rs
|
2021-10-21 19:57:10 +00:00
|
|
|
index d4875cfe1b06..798c45506373 100644
|
2021-05-07 00:05:08 +00:00
|
|
|
--- a/src/bootstrap/dist.rs
|
|
|
|
+++ b/src/bootstrap/dist.rs
|
2021-10-21 19:57:10 +00:00
|
|
|
@@ -1004,7 +1004,7 @@ fn run(self, builder: &Builder<'_>) -> Option<GeneratedTarball> {
|
2021-05-07 00:05:08 +00:00
|
|
|
for dirent in fs::read_dir(cargo.parent().unwrap()).expect("read_dir") {
|
|
|
|
let dirent = dirent.expect("read dir entry");
|
|
|
|
if dirent.file_name().to_str().expect("utf8").starts_with("cargo-credential-") {
|
|
|
|
- tarball.add_file(&dirent.path(), "libexec", 0o755);
|
|
|
|
+ tarball.add_file(&dirent.path(), "lib", 0o755);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|