From: Brian Harring Date: Thu, 16 Feb 2006 04:51:00 +0000 (-0000) Subject: generalize the BSD checks. X-Git-Tag: v2.1_pre5_2760~39 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7fc3d20d22134f47dd3367cfe2a499a79ce9f4fc;p=portage.git generalize the BSD checks. svn path=/main/trunk/; revision=2717 --- 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: