diff options
author | Brian Harring <ferringb@gentoo.org> | 2006-02-16 04:51:00 +0000 |
---|---|---|
committer | Brian Harring <ferringb@gentoo.org> | 2006-02-16 04:51:00 +0000 |
commit | 7fc3d20d22134f47dd3367cfe2a499a79ce9f4fc (patch) | |
tree | 2b05bd7e04d166b9ad7b55685168d1e437a93fc3 | |
parent | 34cb46b8bf4a3faf371a828dbcaf7cbe592affe4 (diff) | |
download | portage-7fc3d20d22134f47dd3367cfe2a499a79ce9f4fc.tar.gz portage-7fc3d20d22134f47dd3367cfe2a499a79ce9f4fc.tar.bz2 portage-7fc3d20d22134f47dd3367cfe2a499a79ce9f4fc.zip |
generalize the BSD checks.
svn path=/main/trunk/; revision=2717
-rw-r--r-- | pym/portage_data.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage_data.py b/pym/portage_data.py index 43d4f6b2a..00148f907 100644 --- a/pym/portage_data.py +++ b/pym/portage_data.py @@ -19,7 +19,7 @@ elif ostype == "Darwin": os.environ["XARGS"]="xargs" def lchown(*pos_args, **key_args): pass -elif ostype in ["FreeBSD","OpenBSD","NetBSD","DragonFly"]: +elif ostype.endswith("BSD") or ostype =="DragonFly": userland="BSD" os.environ["XARGS"]="xargs" else: |