diff options
author | Georgy Yakovlev <gyakovlev@gentoo.org> | 2023-02-10 13:32:06 -0800 |
---|---|---|
committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2023-02-10 13:32:06 -0800 |
commit | f06b787db8aaa6b1467239c53aeaca8c54ad2636 (patch) | |
tree | 1b80fdf6ca4eec2a8864ef15168100b2828cc2a8 /eclass | |
parent | gkrellm-plugin.eclass: remove EAPI 6 support (diff) | |
download | gentoo-f06b787db8aaa6b1467239c53aeaca8c54ad2636.tar.gz gentoo-f06b787db8aaa6b1467239c53aeaca8c54ad2636.tar.bz2 gentoo-f06b787db8aaa6b1467239c53aeaca8c54ad2636.zip |
cargo.eclass: silence 1 more declare -p stderr
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/cargo.eclass | 2 |
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 |