summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-12-29 09:04:45 +0000
committerZac Medico <zmedico@gentoo.org>2007-12-29 09:04:45 +0000
commita183e7baa09846bbbed488875db7138ee7402e68 (patch)
tree246e7a622976456fa42f9d5c9d5bfc65b73ab4bc
parentd394e46477e3329a3de4cf92d1c79edc463fb062 (diff)
downloadportage-a183e7baa09846bbbed488875db7138ee7402e68.tar.gz
portage-a183e7baa09846bbbed488875db7138ee7402e68.tar.bz2
portage-a183e7baa09846bbbed488875db7138ee7402e68.zip
Make doebuild() check XARGS together with ARCH and USERLAND.
svn path=/main/trunk/; revision=9090
-rw-r--r--pym/portage/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index 217db0aa7..40e3d1749 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -4537,9 +4537,9 @@ def doebuild(myebuild, mydo, myroot, mysettings, debug=0, listonly=0,
if env_stat:
mysettings._filter_calling_env = True
else:
- for var in "ARCH", "USERLAND":
+ for var in "ARCH", "USERLAND", "XARGS":
value = mysettings.get(var)
- if value:
+ if value and value.strip():
continue
if var == "USERLAND" and userland:
mysettings["USERLAND"] = userland