summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-04-05 21:34:46 +0000
committerZac Medico <zmedico@gentoo.org>2007-04-05 21:34:46 +0000
commitd4439033a59b6443ccd24442d2b42f6272dd416d (patch)
tree3a6b34ff9f33b05e04cde47fa30b685157ccaf95
parent33ca3692b86bd510988c3d50be0816824225fe18 (diff)
downloadportage-d4439033a59b6443ccd24442d2b42f6272dd416d.tar.gz
portage-d4439033a59b6443ccd24442d2b42f6272dd416d.tar.bz2
portage-d4439033a59b6443ccd24442d2b42f6272dd416d.zip
Make sure XARGS has a default value.
svn path=/main/trunk/; revision=6343
-rw-r--r--pym/portage/data.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pym/portage/data.py b/pym/portage/data.py
index 1ef417fc5..69763aedd 100644
--- a/pym/portage/data.py
+++ b/pym/portage/data.py
@@ -16,6 +16,7 @@ ostype=os.uname()[0]
userland = None
lchown = getattr(os, "lchown")
+os.environ.setdefault("XARGS", "xargs")
if ostype=="Linux" or ostype.lower().endswith("gnu"):
userland="GNU"
os.environ["XARGS"]="xargs -r"