/[gentoo-x86]/eclass/multiprocessing.eclass
Gentoo

Diff of /eclass/multiprocessing.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.6 Revision 1.7
1# Copyright 1999-2013 Gentoo Foundation 1# Copyright 1999-2013 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/multiprocessing.eclass,v 1.6 2013/12/06 03:04:01 jcallen Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/multiprocessing.eclass,v 1.7 2013/12/07 09:14:15 vapier Exp $
4 4
5# @ECLASS: multiprocessing.eclass 5# @ECLASS: multiprocessing.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# base-system@gentoo.org 7# base-system@gentoo.org
8# @AUTHOR: 8# @AUTHOR:
226# about the exact fd #. 226# about the exact fd #.
227redirect_alloc_fd() { 227redirect_alloc_fd() {
228 local var=$1 file=$2 redir=${3:-"<>"} 228 local var=$1 file=$2 redir=${3:-"<>"}
229 229
230 # Make sure /dev/fd is sane on Linux hosts. #479656 230 # Make sure /dev/fd is sane on Linux hosts. #479656
231 if [[ ! -L /dev/fd && $(uname) == Linux ]] ; then 231 if [[ ! -L /dev/fd && ${CBUILD} == *linux* ]] ; then
232 eerror "You're missing a /dev/fd symlink to /proc/self/fd." 232 eerror "You're missing a /dev/fd symlink to /proc/self/fd."
233 eerror "Please fix the symlink and check your boot scripts (udev/etc...)." 233 eerror "Please fix the symlink and check your boot scripts (udev/etc...)."
234 die "/dev/fd is broken" 234 die "/dev/fd is broken"
235 fi 235 fi
236 236

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.20