summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Armak <danarmak@gentoo.org>2003-04-27 19:35:00 +0000
committerDan Armak <danarmak@gentoo.org>2003-04-27 19:35:00 +0000
commit14027ccff45f94d54adf80ae1ea5d7409e4c83aa (patch)
treea72985a5ae20a7df39ee8af9d83d997d98aca865 /eclass/cvs.eclass
parentnew version; cleanup (diff)
downloadgentoo-2-14027ccff45f94d54adf80ae1ea5d7409e4c83aa.tar.gz
gentoo-2-14027ccff45f94d54adf80ae1ea5d7409e4c83aa.tar.bz2
gentoo-2-14027ccff45f94d54adf80ae1ea5d7409e4c83aa.zip
fix offline mode fetching - cvs_src_unpack was incorrectly exiting without copying the sources into workdir when in offline mode
Diffstat (limited to 'eclass/cvs.eclass')
-rw-r--r--eclass/cvs.eclass5
1 files changed, 2 insertions, 3 deletions
diff --git a/eclass/cvs.eclass b/eclass/cvs.eclass
index 06d443bca5ba..5742df31679d 100644
--- a/eclass/cvs.eclass
+++ b/eclass/cvs.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/cvs.eclass,v 1.39 2003/04/23 20:09:50 danarmak Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/cvs.eclass,v 1.40 2003/04/27 19:35:00 danarmak Exp $
#
# Author Dan Armak <danarmak@gentoo.org>
#
@@ -232,8 +232,7 @@ ECVS_RUNAS=$ECVS_RUNAS"
if [ "$ECVS_SERVER" == "offline" ]; then
# we're not required to fetch anything, the module already exists and shouldn't be updated
if [ -d "${ECVS_TOP_DIR}/${ECVS_MODULE}" ]; then
- debug-print "$FUNCNAME: offline mode, exiting"
- return 0
+ debug-print "$FUNCNAME: offline mode"
else
debug-print "$FUNCNAME: offline mode specified but directory ${ECVS_TOP_DIR}/${ECVS_MODULE} not found, exiting with error"
die "ERROR: Offline mode specified, but dir ${ECVS_TOP_DIR}/${ECVS_MODULE} not found. Aborting."