diff options
author | Donnie Berkholz <spyderous@gentoo.org> | 2006-06-24 13:21:43 -0700 |
---|---|---|
committer | Donnie Berkholz <donnie@comet.(none)> | 2006-06-24 13:21:43 -0700 |
commit | 2ee4ba2b077b7a4de7d35c07acd6618d2bbc959b (patch) | |
tree | 051942e90867c5b9ff43c1470ad397f900baabbc /eclass | |
parent | xgl: Need to set EGIT_BRANCH above the inherit line (diff) | |
download | dberkholz-2ee4ba2b077b7a4de7d35c07acd6618d2bbc959b.tar.gz dberkholz-2ee4ba2b077b7a4de7d35c07acd6618d2bbc959b.tar.bz2 dberkholz-2ee4ba2b077b7a4de7d35c07acd6618d2bbc959b.zip |
git.eclass: Set GIT_DIR on updates, or else they don't work.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/git.eclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/git.eclass b/eclass/git.eclass index c135ab0..56725fb 100644 --- a/eclass/git.eclass +++ b/eclass/git.eclass @@ -201,7 +201,7 @@ function git_fetch() { local oldsha1=$(git rev-parse ${EGIT_BRANCH}) - ${EGIT_UPDATE_CMD} ${EGIT_OPTIONS} origin ${EGIT_BRANCH}:${EGIT_BRANCH} \ + GIT_DIR=${EGIT_PROJECT} ${EGIT_UPDATE_CMD} ${EGIT_OPTIONS} origin ${EGIT_BRANCH}:${EGIT_BRANCH} \ || die "${EGIT}: can't update from ${EGIT_REPO_URI}." ${EGIT_DIFFSTAT_CMD} ${oldsha1}..${EGIT_BRANCH} |