summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2013-12-07 09:14:15 +0000
committerMike Frysinger <vapier@gentoo.org>2013-12-07 09:14:15 +0000
commitf91652f4e3a94d2a3f2d7631ef600e5a58b67d62 (patch)
treef8cf5f705b1c1e49153a092b9eee3938bbc722e2 /eclass/multiprocessing.eclass
parentVersion bump to 0.4.1 and updated live ebuild; fixes bug #493458, proxied com... (diff)
downloadgentoo-2-f91652f4e3a94d2a3f2d7631ef600e5a58b67d62.tar.gz
gentoo-2-f91652f4e3a94d2a3f2d7631ef600e5a58b67d62.tar.bz2
gentoo-2-f91652f4e3a94d2a3f2d7631ef600e5a58b67d62.zip
use $CBUILD rather than uname for host detection #479656
Diffstat (limited to 'eclass/multiprocessing.eclass')
-rw-r--r--eclass/multiprocessing.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/multiprocessing.eclass b/eclass/multiprocessing.eclass
index fca871a9b499..0b3c59999d38 100644
--- a/eclass/multiprocessing.eclass
+++ b/eclass/multiprocessing.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/multiprocessing.eclass,v 1.6 2013/12/06 03:04:01 jcallen Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/multiprocessing.eclass,v 1.7 2013/12/07 09:14:15 vapier Exp $
# @ECLASS: multiprocessing.eclass
# @MAINTAINER:
@@ -228,7 +228,7 @@ redirect_alloc_fd() {
local var=$1 file=$2 redir=${3:-"<>"}
# Make sure /dev/fd is sane on Linux hosts. #479656
- if [[ ! -L /dev/fd && $(uname) == Linux ]] ; then
+ if [[ ! -L /dev/fd && ${CBUILD} == *linux* ]] ; then
eerror "You're missing a /dev/fd symlink to /proc/self/fd."
eerror "Please fix the symlink and check your boot scripts (udev/etc...)."
die "/dev/fd is broken"