summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2012-12-24 02:51:25 +0000
committerZac Medico <zmedico@gentoo.org>2012-12-24 02:51:25 +0000
commita40ce628d5a849da814ec1904305ad15fe03f705 (patch)
tree4a35a5c3ff2414620a2d6d7663dc10e22adfcd1e /eclass/python-any-r1.eclass
parentVersion bump #439806 by Sebastian Pipping. (diff)
downloadhistorical-a40ce628d5a849da814ec1904305ad15fe03f705.tar.gz
historical-a40ce628d5a849da814ec1904305ad15fe03f705.tar.bz2
historical-a40ce628d5a849da814ec1904305ad15fe03f705.zip
Fix python-any-r1_pkg_setup fallback logic.
Diffstat (limited to 'eclass/python-any-r1.eclass')
-rw-r--r--eclass/python-any-r1.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/python-any-r1.eclass b/eclass/python-any-r1.eclass
index 734d3dbae799..3af4b5b51870 100644
--- a/eclass/python-any-r1.eclass
+++ b/eclass/python-any-r1.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/python-any-r1.eclass,v 1.3 2012/12/20 23:35:17 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/python-any-r1.eclass,v 1.4 2012/12/24 02:51:25 zmedico Exp $
# @ECLASS: python-any-r1
# @MAINTAINER:
@@ -205,7 +205,7 @@ python-any-r1_pkg_setup() {
local PYTHON_PKG_DEP
for i in "${rev_impls[@]}"; do
python_export "${i}" PYTHON_PKG_DEP EPYTHON PYTHON
- has_version "${PYTHON_PKG_DEP}" && break
+ ROOT=/ has_version "${PYTHON_PKG_DEP}" && return
done
die $EPYTHON