summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Armak <danarmak@gentoo.org>2002-07-18 14:07:15 +0000
committerDan Armak <danarmak@gentoo.org>2002-07-18 14:07:15 +0000
commitcbf0d713f14fa25e6f5d729acca45777db8488c1 (patch)
treee6c15765b383fbb2946a79c536cd729ca1a0d363 /eclass/cvs.eclass
parentconditional debugging now (diff)
downloadgentoo-2-cbf0d713f14fa25e6f5d729acca45777db8488c1.tar.gz
gentoo-2-cbf0d713f14fa25e6f5d729acca45777db8488c1.tar.bz2
gentoo-2-cbf0d713f14fa25e6f5d729acca45777db8488c1.zip
don't use --enable-final for the cvs ebuilds
Diffstat (limited to 'eclass/cvs.eclass')
-rw-r--r--eclass/cvs.eclass8
1 files changed, 6 insertions, 2 deletions
diff --git a/eclass/cvs.eclass b/eclass/cvs.eclass
index 84026e9fe51f..64cf38dbcdf2 100644
--- a/eclass/cvs.eclass
+++ b/eclass/cvs.eclass
@@ -1,7 +1,7 @@
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Dan Armak <danarmak@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/eclass/cvs.eclass,v 1.2 2002/07/17 21:14:56 danarmak Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/cvs.eclass,v 1.3 2002/07/18 14:07:15 danarmak Exp $
# This eclass provides the generic cvs fetching functions.
ECLASS=cvs
@@ -59,7 +59,11 @@ cvs_fetch() {
debug-print-function $FUNCNAME $*
# disable the sandbox for this dir
- [ ! -d "$ECVS_TOP_DIR" ] && mkdir -p $ECVS_TOP_DIR
+ if [ ! -d "$ECVS_TOP_DIR" ]; then
+ addwrite $ECVS_TOP_DIR/..
+ mkdir -p $ECVS_TOP_DIR
+ adddeny $ECVS_TOP_DIR/..
+ fi
addread ${ECVS_TOP_DIR}
addwrite ${ECVS_TOP_DIR}