projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
880e2ef
)
Bug #121584 - Make the automatic USERLAND detection code recognize
author
Zac Medico
<zmedico@gentoo.org>
Sat, 29 Dec 2007 08:38:43 +0000
(08:38 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sat, 29 Dec 2007 08:38:43 +0000
(08:38 -0000)
GNU/kFreeBSD.
svn path=/main/trunk/; revision=9087
pym/portage/data.py
patch
|
blob
|
history
diff --git
a/pym/portage/data.py
b/pym/portage/data.py
index 958be3ca6a642a575629ea6885091afd978b9bd1..dc72d6fa23fcd7cd2935462980d1b1ab3a60a87e 100644
(file)
--- 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":