diff options
-rw-r--r-- | pym/portage/data.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pym/portage/data.py b/pym/portage/data.py index 958be3ca6..dc72d6fa2 100644 --- a/pym/portage/data.py +++ b/pym/portage/data.py @@ -14,7 +14,9 @@ ostype=os.uname()[0] userland = None lchown = getattr(os, "lchown", None) os.environ.setdefault("XARGS", "xargs") -if ostype=="Linux" or ostype.lower().endswith("gnu"): +if ostype == "Linux" or \ + ostype.lower().startswith("gnu") or \ + ostype.lower().endswith("gnu"): userland="GNU" os.environ["XARGS"]="xargs -r" elif ostype == "Darwin": |