diff options
author | Michael Marineau <marineam@gentoo.org> | 2006-07-21 03:22:59 +0000 |
---|---|---|
committer | Michael Marineau <marineam@gentoo.org> | 2006-07-21 03:22:59 +0000 |
commit | 0a2dbeebcc534d3dbd2bf4826971f4fa96e19fd2 (patch) | |
tree | ce44e65d656a5ae7badad9ae02354c19e3b527d4 /eclass | |
parent | Revision bump to use new Java system. (diff) | |
download | historical-0a2dbeebcc534d3dbd2bf4826971f4fa96e19fd2.tar.gz historical-0a2dbeebcc534d3dbd2bf4826971f4fa96e19fd2.tar.bz2 historical-0a2dbeebcc534d3dbd2bf4826971f4fa96e19fd2.zip |
Only append git local versions when LOCALVERSION_AUTO is set.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/linux-info.eclass | 3 |
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 |