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
commit25ec107088ef68ab80c2560a710f60797ed072cf (patch)
treed1ac3ba839de368d6540fa25c82f0ef292128321 /eclass
parentVersion bump. (diff)
downloadhistorical-25ec107088ef68ab80c2560a710f60797ed072cf.tar.gz
historical-25ec107088ef68ab80c2560a710f60797ed072cf.tar.bz2
historical-25ec107088ef68ab80c2560a710f60797ed072cf.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//\"/}"