summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRepository mirror & CI <repomirrorci@gentoo.org>2023-02-10 21:46:56 +0000
committerRepository mirror & CI <repomirrorci@gentoo.org>2023-02-10 21:46:56 +0000
commit7c5d9c99da5edde93a553f80196c979e83b434d2 (patch)
treee71f418d27cca9605a9b80cc6efdc89e20438259
parent2023-02-10 21:24:33 UTC (diff)
parentcargo.eclass: silence 1 more declare -p stderr (diff)
downloadgentoo-7c5d9c99da5edde93a553f80196c979e83b434d2.tar.gz
gentoo-7c5d9c99da5edde93a553f80196c979e83b434d2.tar.bz2
gentoo-7c5d9c99da5edde93a553f80196c979e83b434d2.zip
Merge updates from master
-rw-r--r--eclass/cargo.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass
index a92fe97ec502..911ddabced14 100644
--- a/eclass/cargo.eclass
+++ b/eclass/cargo.eclass
@@ -281,7 +281,7 @@ cargo_gen_config() {
# Called by cargo_gen_config when generating the config.
_cargo_gen_git_config() {
local git_crates_type
- git_crates_type="$(declare -p GIT_CRATES)"
+ git_crates_type="$(declare -p GIT_CRATES 2>&-)"
if [[ ${git_crates_type} == "declare -A "* ]]; then
local crate commit crate_uri crate_dir