generalize the BSD checks.
authorBrian Harring <ferringb@gentoo.org>
Thu, 16 Feb 2006 04:51:00 +0000 (04:51 -0000)
committerBrian Harring <ferringb@gentoo.org>
Thu, 16 Feb 2006 04:51:00 +0000 (04:51 -0000)
svn path=/main/trunk/; revision=2717

pym/portage_data.py

index 43d4f6b2ac39c64df62476e7e69b24b170c69b8c..00148f90715bb20f6c889d0a84af729aa5587759 100644 (file)
@@ -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: