summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2015-12-06 16:33:55 +0100
committerMichał Górny <mgorny@gentoo.org>2015-12-09 21:41:16 +0100
commit81c889aeeb4953eb42c568a7f8bb1fc745cd87cf (patch)
tree4fc256eb7b551d9a0ac2608c84a6edd242fd979d /eclass/multilib-build.eclass
parentmultilib-build.eclass: Add missing error checks (diff)
downloadgentoo-81c889aeeb4953eb42c568a7f8bb1fc745cd87cf.tar.gz
gentoo-81c889aeeb4953eb42c568a7f8bb1fc745cd87cf.tar.bz2
gentoo-81c889aeeb4953eb42c568a7f8bb1fc745cd87cf.zip
multilib-build.eclass: Unset local functions after use
Diffstat (limited to 'eclass/multilib-build.eclass')
-rw-r--r--eclass/multilib-build.eclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/eclass/multilib-build.eclass b/eclass/multilib-build.eclass
index 8e58a2be1df5..664cd43e4f2f 100644
--- a/eclass/multilib-build.eclass
+++ b/eclass/multilib-build.eclass
@@ -273,6 +273,7 @@ multilib_check_headers() {
local cksum cksum_prev
local cksum_file=${T}/.multilib_header_cksum
cksum=$(_multilib_header_cksum) || die
+ unset -f _multilib_header_cksum
if [[ -f ${cksum_file} ]]; then
cksum_prev=$(< "${cksum_file}") || die