summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2015-12-06 16:50:05 +0100
committerMichał Górny <mgorny@gentoo.org>2015-12-09 21:41:16 +0100
commitaa7b200b78635c2998f275419635e2938806233a (patch)
tree084c3c876b53749b5bb44a8f86ba249eef5f58be /eclass/python-any-r1.eclass
parentpython-any-r1.eclass: Unset global-setting function after use (diff)
downloadgentoo-aa7b200b78635c2998f275419635e2938806233a.tar.gz
gentoo-aa7b200b78635c2998f275419635e2938806233a.tar.bz2
gentoo-aa7b200b78635c2998f275419635e2938806233a.zip
python-any-r1.eclass: Mark eclass-generated variables read-only
Diffstat (limited to 'eclass/python-any-r1.eclass')
-rw-r--r--eclass/python-any-r1.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/python-any-r1.eclass b/eclass/python-any-r1.eclass
index 7d86b9ac5c56..82ead76edf18 100644
--- a/eclass/python-any-r1.eclass
+++ b/eclass/python-any-r1.eclass
@@ -133,7 +133,7 @@ _python_any_set_globals() {
PYTHON_DEPS="${PYTHON_PKG_DEP} ${PYTHON_DEPS}"
done
- PYTHON_DEPS="|| ( ${PYTHON_DEPS})"
+ declare -g -r PYTHON_DEPS="|| ( ${PYTHON_DEPS})"
}
_python_any_set_globals
unset -f _python_any_set_globals