summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2017-09-14 02:07:03 -0400
committerTim Harder <radhermit@gentoo.org>2017-09-14 02:07:03 -0400
commit89fad619e36e31bc32183895ee476d4258b6ec34 (patch)
treeb26305d6fdba5a50d22aaf856b87cfa93e56d1a0 /eclass
parentapp-arch/par2cmdline: version bump to 0.7.4 (diff)
downloadgentoo-89fad619e36e31bc32183895ee476d4258b6ec34.tar.gz
gentoo-89fad619e36e31bc32183895ee476d4258b6ec34.tar.bz2
gentoo-89fad619e36e31bc32183895ee476d4258b6ec34.zip
cargo.eclass: localize variables so they don't leak into the saved env
Diffstat (limited to 'eclass')
-rw-r--r--eclass/cargo.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass
index f805deba70c3..4bb5954ca31c 100644
--- a/eclass/cargo.eclass
+++ b/eclass/cargo.eclass
@@ -53,7 +53,7 @@ cargo_src_unpack() {
mkdir -p "${ECARGO_VENDOR}" || die
mkdir -p "${S}" || die
- local archive
+ local archive shasum pkg
for archive in ${A}; do
case "${archive}" in
*.crate)