summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2009-09-08 12:34:21 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2009-09-08 12:34:21 +0000
commita0af7e14a508bd01d2efd39bad12c0a9ae0c24d8 (patch)
treebd568793d3897333ce12a1f035b77646cd5869d7 /eclass
parentVersion bump. (diff)
downloadgentoo-2-a0af7e14a508bd01d2efd39bad12c0a9ae0c24d8.tar.gz
gentoo-2-a0af7e14a508bd01d2efd39bad12c0a9ae0c24d8.tar.bz2
gentoo-2-a0af7e14a508bd01d2efd39bad12c0a9ae0c24d8.zip
get_version should use linux_config_src_exists to check for source.
Diffstat (limited to '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 3a2af1f5f89a..e530f511710a 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.70 2009/09/06 23:41:42 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v 1.71 2009/09/08 12:34:21 robbat2 Exp $
#
# Original author: John Mylchreest <johnm@gentoo.org>
# Maintainer: kernel-misc@gentoo.org
@@ -511,7 +511,7 @@ get_version() {
KV_OUT_DIR="${KV_OUT_DIR:-${KV_DIR}}"
KV_LOCAL="${KV_LOCAL}$(get_localversion ${KV_DIR})"
- if linux_config_exists; then
+ if linux_config_src_exists; then
KV_LOCAL="${KV_LOCAL}$(linux_chkconfig_string LOCALVERSION)"
KV_LOCAL="${KV_LOCAL//\"/}"