From: Zac Medico Date: Thu, 5 Apr 2007 21:34:46 +0000 (-0000) Subject: Make sure XARGS has a default value. X-Git-Tag: v2.2_pre1~1511 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d4439033a59b6443ccd24442d2b42f6272dd416d;p=portage.git Make sure XARGS has a default value. svn path=/main/trunk/; revision=6343 --- 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"