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
commit8436cedae81bcb358866e6225b6e2f09b1432025 (patch)
treee4d555f32ee36d3bd7236c51cf9aceb4c357f061 /eclass/linux-info.eclass
parentVersion bump. (diff)
downloadhistorical-8436cedae81bcb358866e6225b6e2f09b1432025.tar.gz
historical-8436cedae81bcb358866e6225b6e2f09b1432025.tar.bz2
historical-8436cedae81bcb358866e6225b6e2f09b1432025.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