summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Harring <ferringb@gentoo.org>2006-02-16 04:51:00 +0000
committerBrian Harring <ferringb@gentoo.org>2006-02-16 04:51:00 +0000
commit7fc3d20d22134f47dd3367cfe2a499a79ce9f4fc (patch)
tree2b05bd7e04d166b9ad7b55685168d1e437a93fc3
parent34cb46b8bf4a3faf371a828dbcaf7cbe592affe4 (diff)
downloadportage-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.py2
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: