/[gentoo-x86]/eclass/linux-info.eclass
Gentoo

Diff of /eclass/linux-info.eclass

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

Revision 1.73 Revision 1.74
1# Copyright 1999-2006 Gentoo Foundation 1# Copyright 1999-2006 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/linux-info.eclass,v 1.73 2009/10/11 11:48:33 maekke Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v 1.74 2009/12/11 20:42:51 robbat2 Exp $
4# 4#
5# Original author: John Mylchreest <johnm@gentoo.org> 5# Original author: John Mylchreest <johnm@gentoo.org>
6# Maintainer: kernel-misc@gentoo.org 6# Maintainer: kernel-misc@gentoo.org
7# 7#
8# Please direct your bugs to the current eclass maintainer :) 8# Please direct your bugs to the current eclass maintainer :)
235# @FUNCTION: linux_config_bin_exists 235# @FUNCTION: linux_config_bin_exists
236# @RETURN: true or false 236# @RETURN: true or false
237# @DESCRIPTION: 237# @DESCRIPTION:
238# It returns true if .config exists in /proc, otherwise false 238# It returns true if .config exists in /proc, otherwise false
239linux_config_bin_exists() { 239linux_config_bin_exists() {
240 [ -s "/proc/config.gz" ] 240 [ -n "${I_KNOW_WHAT_I_AM_DOING}" -a -s "/proc/config.gz" ]
241} 241}
242 242
243# @FUNCTION: linux_config_exists 243# @FUNCTION: linux_config_exists
244# @RETURN: true or false 244# @RETURN: true or false
245# @DESCRIPTION: 245# @DESCRIPTION:

Legend:
Removed from v.1.73  
changed lines
  Added in v.1.74

  ViewVC Help
Powered by ViewVC 1.1.20