summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorDan Armak <danarmak@gentoo.org>2002-07-17 21:14:56 +0000
committerDan Armak <danarmak@gentoo.org>2002-07-17 21:14:56 +0000
commitb94c1bb01e741a87d45b71001ab2bfc5a091f288 (patch)
tree95fe8036bff9428171634a95f5da589d17fbb38b /eclass
parentremoved stale versions, made a dep fix and made it use eclass + fixed SRC_URI (diff)
downloadhistorical-b94c1bb01e741a87d45b71001ab2bfc5a091f288.tar.gz
historical-b94c1bb01e741a87d45b71001ab2bfc5a091f288.tar.bz2
historical-b94c1bb01e741a87d45b71001ab2bfc5a091f288.zip
create ECVS_TOP_DIR if it doesn't exist
Diffstat (limited to 'eclass')
-rw-r--r--eclass/cvs.eclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/eclass/cvs.eclass b/eclass/cvs.eclass
index e04e5c8ccc63..84026e9fe51f 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.1 2002/07/17 20:25:16 danarmak Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/cvs.eclass,v 1.2 2002/07/17 21:14:56 danarmak Exp $
# This eclass provides the generic cvs fetching functions.
ECLASS=cvs
@@ -59,6 +59,7 @@ cvs_fetch() {
debug-print-function $FUNCNAME $*
# disable the sandbox for this dir
+ [ ! -d "$ECVS_TOP_DIR" ] && mkdir -p $ECVS_TOP_DIR
addread ${ECVS_TOP_DIR}
addwrite ${ECVS_TOP_DIR}