diff options
author | Mike Frysinger <vapier@gentoo.org> | 2013-12-07 09:14:15 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2013-12-07 09:14:15 +0000 |
commit | a9ebf6d167780cd9fb795e5260b1e9020245c719 (patch) | |
tree | a65e3bf47a94b6ea3bbec7250668822079a66161 /eclass | |
parent | Fix broken tests. (diff) | |
download | historical-a9ebf6d167780cd9fb795e5260b1e9020245c719.tar.gz historical-a9ebf6d167780cd9fb795e5260b1e9020245c719.tar.bz2 historical-a9ebf6d167780cd9fb795e5260b1e9020245c719.zip |
use $CBUILD rather than uname for host detection #479656
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/multiprocessing.eclass | 4 |
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" |