summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBo Ørsted Andresen <zlin@gentoo.org>2008-06-15 17:47:57 +0000
committerBo Ørsted Andresen <zlin@gentoo.org>2008-06-15 17:47:57 +0000
commit0b3122f456feaae19957f8d5ad835eba32ad9c64 (patch)
tree6c64bd525a010bde0c9e282294e7d374adc00e7d /eclass/git.eclass
parentfix intltool tests, bug #225391. (diff)
downloadgentoo-2-0b3122f456feaae19957f8d5ad835eba32ad9c64.tar.gz
gentoo-2-0b3122f456feaae19957f8d5ad835eba32ad9c64.tar.bz2
gentoo-2-0b3122f456feaae19957f8d5ad835eba32ad9c64.zip
Make GIT_DIR an absolute path exported during git_fetch().
Diffstat (limited to 'eclass/git.eclass')
-rw-r--r--eclass/git.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/git.eclass b/eclass/git.eclass
index e13af5001f66..22b1d8cdeae9 100644
--- a/eclass/git.eclass
+++ b/eclass/git.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/git.eclass,v 1.11 2008/06/05 15:44:01 zlin Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/git.eclass,v 1.12 2008/06/15 17:47:57 zlin Exp $
## --------------------------------------------------------------------------- #
# subversion.eclass author: Akinori Hattori <hattya@gentoo.org>
@@ -190,7 +190,7 @@ git_fetch() {
debug-print "${FUNCNAME}: EGIT_OPTIONS = \"${EGIT_OPTIONS}\""
- export GIT_DIR="${EGIT_CLONE_DIR}"
+ export GIT_DIR="${EGIT_STORE_DIR}/${EGIT_CLONE_DIR}"
if [[ ! -d ${EGIT_CLONE_DIR} ]] ; then
# first clone