summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Marineau <marineam@gentoo.org>2006-07-21 03:22:59 +0000
committerMichael Marineau <marineam@gentoo.org>2006-07-21 03:22:59 +0000
commit5f3f4295c4e71d93ef52e4c0c7917531dc86fe15 (patch)
treef4595de3d659825723a5914135b54331a291c1e3 /eclass/linux-info.eclass
parentRevision bump to use new Java system. (diff)
downloadgentoo-2-5f3f4295c4e71d93ef52e4c0c7917531dc86fe15.tar.gz
gentoo-2-5f3f4295c4e71d93ef52e4c0c7917531dc86fe15.tar.bz2
gentoo-2-5f3f4295c4e71d93ef52e4c0c7917531dc86fe15.zip
Only append git local versions when LOCALVERSION_AUTO is set.
Diffstat (limited to 'eclass/linux-info.eclass')
-rw-r--r--eclass/linux-info.eclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/eclass/linux-info.eclass b/eclass/linux-info.eclass
index 1e677ef1d166..e2ddbabb4da9 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.46 2006/07/20 05:34:10 marineam Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v 1.47 2006/07/21 03:22:59 marineam Exp $
#
# Description: This eclass is used as a central eclass for accessing kernel
# related information for sources already installed.
@@ -310,6 +310,7 @@ get_version() {
# For things like git that can append extra stuff:
[ -e ${KV_DIR}/scripts/setlocalversion ] &&
+ linux_chkconfig_builtin LOCALVERSION_AUTO &&
KV_LOCAL="${KV_LOCAL}$(sh ${KV_DIR}/scripts/setlocalversion ${KV_DIR})"
# And we should set KV_FULL to the full expanded version