diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-12-14 23:40:18 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-12-14 23:40:18 +0000 |
commit | f6da12dfa57f747f300d0cda7d3f219ec8aabb4a (patch) | |
tree | c5a27ed512e0fcc382d963084f960ec4c44f67de /eclass/git.eclass | |
parent | Add "~amd64", wrt bug #394557 (diff) | |
download | historical-f6da12dfa57f747f300d0cda7d3f219ec8aabb4a.tar.gz historical-f6da12dfa57f747f300d0cda7d3f219ec8aabb4a.tar.bz2 historical-f6da12dfa57f747f300d0cda7d3f219ec8aabb4a.zip |
create backing store dirs with group write perms so that people can more easily switch between user based testing (ebuild/etc...) and root/userpriv based emerging
Diffstat (limited to 'eclass/git.eclass')
-rw-r--r-- | eclass/git.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/git.eclass b/eclass/git.eclass index 5dfd59bb8b48..308870915e80 100644 --- a/eclass/git.eclass +++ b/eclass/git.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.eclass,v 1.57 2011/09/12 12:49:44 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/git.eclass,v 1.58 2011/12/14 23:40:18 vapier Exp $ # @DEPRECATED # This eclass has been superseded by git-2 eclass. @@ -237,7 +237,7 @@ git_fetch() { if [[ ! -d ${EGIT_STORE_DIR} ]] ; then debug-print "${FUNCNAME}: initial clone. creating git directory" addwrite / - mkdir -p "${EGIT_STORE_DIR}" \ + mkdir -m 775 -p "${EGIT_STORE_DIR}" \ || die "${EGIT}: can't mkdir ${EGIT_STORE_DIR}." export SANDBOX_WRITE="${SANDBOX_WRITE%%:/}" fi |