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

Diff of /eclass/eutils.eclass

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

Revision 1.152 Revision 1.153
1# Copyright 1999-2004 Gentoo Foundation 1# Copyright 1999-2004 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/eutils.eclass,v 1.152 2005/02/18 18:04:42 azarah Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.153 2005/02/18 21:55:35 azarah Exp $
4# 4#
5# Author: Martin Schlemmer <azarah@gentoo.org> 5# Author: Martin Schlemmer <azarah@gentoo.org>
6# 6#
7# This eclass is for general purpose functions that most ebuilds 7# This eclass is for general purpose functions that most ebuilds
8# have to implement themselves. 8# have to implement themselves.
458# 458#
459# Thanks to nall <nall@gentoo.org> for this. 459# Thanks to nall <nall@gentoo.org> for this.
460# 460#
461get_number_of_jobs() { 461get_number_of_jobs() {
462 local jobs=0 462 local jobs=0
463
464 return 0
465 463
466 if [ ! -r /proc/cpuinfo ] 464 if [ ! -r /proc/cpuinfo ]
467 then 465 then
468 return 1 466 return 1
469 fi 467 fi

Legend:
Removed from v.1.152  
changed lines
  Added in v.1.153

  ViewVC Help
Powered by ViewVC 1.1.20