2021-05-07 00:05:08 +00:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
2023-07-16 14:54:25 +00:00
|
|
|
From: "Jan Alexander Steffens (heftig)" <heftig@archlinux.org>
|
2021-05-07 00:05:08 +00:00
|
|
|
Date: Thu, 6 May 2021 20:13:31 +0200
|
|
|
|
Subject: [PATCH] cargo: Change libexec dir
|
|
|
|
|
|
|
|
---
|
2023-01-28 17:25:54 +00:00
|
|
|
src/cargo/util/auth.rs | 2 +-
|
2021-05-07 00:05:08 +00:00
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
2023-01-28 17:25:54 +00:00
|
|
|
diff --git a/src/cargo/util/auth.rs b/src/cargo/util/auth.rs
|
2023-06-03 19:07:49 +00:00
|
|
|
index f19acaebe080..9edc8d72cae9 100644
|
2023-01-28 17:25:54 +00:00
|
|
|
--- a/src/cargo/util/auth.rs
|
|
|
|
+++ b/src/cargo/util/auth.rs
|
2023-06-03 19:07:49 +00:00
|
|
|
@@ -826,7 +826,7 @@ fn sysroot_credential(
|
2021-05-07 00:05:08 +00:00
|
|
|
.parent()
|
|
|
|
.and_then(|p| p.parent())
|
|
|
|
.ok_or_else(|| format_err!("expected cargo path {}", cargo.display()))?;
|
|
|
|
- let exe = root.join("libexec").join(format!(
|
|
|
|
+ let exe = root.join("lib").join(format!(
|
|
|
|
"cargo-credential-{}{}",
|
|
|
|
cred_name,
|
|
|
|
std::env::consts::EXE_SUFFIX
|