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 | ea7e827730f3f81ae3b036aaea0b2cf2428b8c56 (patch) | |
tree | 58ad94afb264f8ef10c5fe807b56788502c0a28a /eclass/git-2.eclass | |
parent | Add "~amd64", wrt bug #394557 (diff) | |
download | gentoo-2-ea7e827730f3f81ae3b036aaea0b2cf2428b8c56.tar.gz gentoo-2-ea7e827730f3f81ae3b036aaea0b2cf2428b8c56.tar.bz2 gentoo-2-ea7e827730f3f81ae3b036aaea0b2cf2428b8c56.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-2.eclass')
-rw-r--r-- | eclass/git-2.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/git-2.eclass b/eclass/git-2.eclass index b3d53eddf9df..f1ed79f98b4a 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.26 2011/09/23 14:10:47 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/git-2.eclass,v 1.27 2011/12/14 23:40:18 vapier Exp $ # @ECLASS: git-2.eclass # @MAINTAINER: @@ -248,7 +248,7 @@ git-2_prepare_storedir() { if [[ ! -d ${EGIT_STORE_DIR} ]]; then debug-print "${FUNCNAME}: Creating git main storage directory" addwrite / - mkdir -p "${EGIT_STORE_DIR}" \ + mkdir -m 775 -p "${EGIT_STORE_DIR}" \ || die "${FUNCNAME}: can't mkdir \"${EGIT_STORE_DIR}\"" fi |