summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2011-05-20 15:32:54 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2011-05-20 15:32:54 +0000
commit80e6de18690137e9c1d50adf933850af3103f993 (patch)
treeca585ae6902abcfc4f32ad4f5a0f6c14275752e8 /eclass
parentx86 stable per bug 362517 (diff)
downloadhistorical-80e6de18690137e9c1d50adf933850af3103f993.tar.gz
historical-80e6de18690137e9c1d50adf933850af3103f993.tar.bz2
historical-80e6de18690137e9c1d50adf933850af3103f993.zip
Drop useless cd so we won't polute the environment.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/git-2.eclass4
1 files changed, 1 insertions, 3 deletions
diff --git a/eclass/git-2.eclass b/eclass/git-2.eclass
index f44d2926ddef..56f53e1500af 100644
--- a/eclass/git-2.eclass
+++ b/eclass/git-2.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/git-2.eclass,v 1.7 2011/05/20 14:35:01 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/git-2.eclass,v 1.8 2011/05/20 15:32:54 scarabeus Exp $
# @ECLASS: git-2.eclass
# @MAINTAINER:
@@ -238,8 +238,6 @@ git-2_prepare_storedir() {
|| die "${FUNCNAME}: can't mkdir \"${EGIT_STORE_DIR}\""
fi
- cd -P "${EGIT_STORE_DIR}" \
- || die "${FUNCNAME}: can't chdir to \"${EGIT_STORE_DIR}\""
# allow writing into EGIT_STORE_DIR
addwrite "${EGIT_STORE_DIR}"
# calculate the proper store dir for data