summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-12-14 23:40:18 +0000
committerMike Frysinger <vapier@gentoo.org>2011-12-14 23:40:18 +0000
commitea7e827730f3f81ae3b036aaea0b2cf2428b8c56 (patch)
tree58ad94afb264f8ef10c5fe807b56788502c0a28a /eclass/subversion.eclass
parentAdd "~amd64", wrt bug #394557 (diff)
downloadgentoo-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/subversion.eclass')
-rw-r--r--eclass/subversion.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/subversion.eclass b/eclass/subversion.eclass
index ae1e5f6bdab0..e3dea23a9474 100644
--- a/eclass/subversion.eclass
+++ b/eclass/subversion.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/subversion.eclass,v 1.70 2011/08/22 04:46:32 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/subversion.eclass,v 1.71 2011/12/14 23:40:18 vapier Exp $
# @ECLASS: subversion.eclass
# @MAINTAINER:
@@ -217,7 +217,7 @@ subversion_fetch() {
if [[ ! -d ${ESVN_STORE_DIR} ]]; then
debug-print "${FUNCNAME}: initial checkout. creating subversion directory"
- mkdir -p "${ESVN_STORE_DIR}" || die "${ESVN}: can't mkdir ${ESVN_STORE_DIR}."
+ mkdir -m 775 -p "${ESVN_STORE_DIR}" || die "${ESVN}: can't mkdir ${ESVN_STORE_DIR}."
fi
pushd "${ESVN_STORE_DIR}" > /dev/null || die "${ESVN}: can't chdir to ${ESVN_STORE_DIR}"
@@ -250,7 +250,7 @@ subversion_fetch() {
debug-print "${FUNCNAME}: ${ESVN_FETCH_CMD} ${options} ${repo_uri}"
- mkdir -p "${ESVN_PROJECT}" || die "${ESVN}: can't mkdir ${ESVN_PROJECT}."
+ mkdir -m 775 -p "${ESVN_PROJECT}" || die "${ESVN}: can't mkdir ${ESVN_PROJECT}."
cd "${ESVN_PROJECT}" || die "${ESVN}: can't chdir to ${ESVN_PROJECT}"
if [[ -n "${ESVN_USER}" ]]; then
${ESVN_FETCH_CMD} ${options} --username "${ESVN_USER}" --password "${ESVN_PASSWORD}" "${repo_uri}" || die "${ESVN}: can't fetch to ${wc_path} from ${repo_uri}."