summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorChristian Birchinger <joker@gentoo.org>2006-09-06 15:15:53 +0000
committerChristian Birchinger <joker@gentoo.org>2006-09-06 15:15:53 +0000
commit6e2126d180dd13ff28f3a3a6fdfea8000426dec5 (patch)
treef6b72218e12b2cc5866073178a7caafe4f4521e8 /eclass
parentdev-util/cogito removed unused flags (ppcsha1 mozsha1). (diff)
downloadhistorical-6e2126d180dd13ff28f3a3a6fdfea8000426dec5.tar.gz
historical-6e2126d180dd13ff28f3a3a6fdfea8000426dec5.tar.bz2
historical-6e2126d180dd13ff28f3a3a6fdfea8000426dec5.zip
Moved addwrite() to allow fresh repositories to be created
Diffstat (limited to 'eclass')
-rw-r--r--eclass/subversion.eclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/subversion.eclass b/eclass/subversion.eclass
index 8baa287308dc..a7014ad513fd 100644
--- a/eclass/subversion.eclass
+++ b/eclass/subversion.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/subversion.eclass,v 1.35 2006/09/05 18:09:57 spb Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/subversion.eclass,v 1.36 2006/09/06 15:15:53 joker Exp $
## --------------------------------------------------------------------------- #
# Author: Akinori Hattori <hattya@gentoo.org>
@@ -177,6 +177,9 @@ function subversion_fetch() {
einfo "subversion check out start -->"
einfo " repository: ${repo_uri}"
+ # Fix sandbox violations
+ addwrite "${ESVN_STORE_DIR}"
+
mkdir -p "${ESVN_PROJECT}" || die "${ESVN}: can't mkdir ${ESVN_PROJECT}."
cd "${ESVN_PROJECT}"
${ESVN_FETCH_CMD} ${ESVN_OPTIONS} "${repo_uri}" || die "${ESVN}: can't fetch from ${repo_uri}."
@@ -192,9 +195,6 @@ function subversion_fetch() {
einfo "subversion update start -->"
einfo " repository: ${repo_uri}"
- # Fix sandbox violations
- addwrite "${ESVN_STORE_DIR}"
-
cd "${wc_path}"
${ESVN_UPDATE_CMD} ${ESVN_OPTIONS} || die "${ESVN}: can't update from ${repo_uri}."