summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2009-12-11 20:42:51 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2009-12-11 20:42:51 +0000
commit3dba8f810e9fba61249f8d9c1723dc252d4e1489 (patch)
treecd131056d321ed31a04c8d2d21050d5be5139e29 /eclass/linux-info.eclass
parentVersion bump. (diff)
downloadgentoo-2-3dba8f810e9fba61249f8d9c1723dc252d4e1489.tar.gz
gentoo-2-3dba8f810e9fba61249f8d9c1723dc252d4e1489.tar.bz2
gentoo-2-3dba8f810e9fba61249f8d9c1723dc252d4e1489.zip
Better legacy-mode support for linux-info until the migration is completed, thanks to darkside_ for finding the issue.
Diffstat (limited to 'eclass/linux-info.eclass')
-rw-r--r--eclass/linux-info.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/linux-info.eclass b/eclass/linux-info.eclass
index 75105356ca0d..c350b74017c4 100644
--- a/eclass/linux-info.eclass
+++ b/eclass/linux-info.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v 1.73 2009/10/11 11:48:33 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v 1.74 2009/12/11 20:42:51 robbat2 Exp $
#
# Original author: John Mylchreest <johnm@gentoo.org>
# Maintainer: kernel-misc@gentoo.org
@@ -237,7 +237,7 @@ linux_config_src_exists() {
# @DESCRIPTION:
# It returns true if .config exists in /proc, otherwise false
linux_config_bin_exists() {
- [ -s "/proc/config.gz" ]
+ [ -n "${I_KNOW_WHAT_I_AM_DOING}" -a -s "/proc/config.gz" ]
}
# @FUNCTION: linux_config_exists