mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 23:47:14 -08:00
cargo.eclass: silence declare -p stderr
Otherwise it prints cargo.eclass: line 201: declare: GIT_CRATES: not found Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
This commit is contained in:
+1
-1
@@ -198,7 +198,7 @@ cargo_crate_uris() {
|
||||
done
|
||||
|
||||
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 repo_ext feat_expr
|
||||
|
||||
|
||||
Reference in New Issue
Block a user