db-move: moved seahorse from [testing] to [extra] (x86_64)
[arch-packages.git] / rust / trunk / 0001-cargo-Change-libexec-dir.patch
blobfdf94fc96481aa429f9ee9ba45367239189f8f43
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:13:31 +0200
4 Subject: [PATCH] cargo: Change libexec dir
6 ---
7 src/cargo/util/auth.rs | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
10 diff --git a/src/cargo/util/auth.rs b/src/cargo/util/auth.rs
11 index f7d0fc8c4a26..d296da754218 100644
12 --- a/src/cargo/util/auth.rs
13 +++ b/src/cargo/util/auth.rs
14 @@ -816,7 +816,7 @@ fn sysroot_credential(
15 .parent()
16 .and_then(|p| p.parent())
17 .ok_or_else(|| format_err!("expected cargo path {}", cargo.display()))?;
18 - let exe = root.join("libexec").join(format!(
19 + let exe = root.join("lib").join(format!(
20 "cargo-credential-{}{}",
21 cred_name,
22 std::env::consts::EXE_SUFFIX