summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Armak <danarmak@gentoo.org>2003-04-23 20:09:50 +0000
committerDan Armak <danarmak@gentoo.org>2003-04-23 20:09:50 +0000
commitc1fe7d979977ddd7e8af0b181860f58289ab1e67 (patch)
tree59dd6373506b30c61d620a18f5c785a35a25c101 /eclass/cvs.eclass
parentNew hardened-sources with additional patches (diff)
downloadgentoo-2-c1fe7d979977ddd7e8af0b181860f58289ab1e67.tar.gz
gentoo-2-c1fe7d979977ddd7e8af0b181860f58289ab1e67.tar.bz2
gentoo-2-c1fe7d979977ddd7e8af0b181860f58289ab1e67.zip
fix wierd error message to be more understandable
Diffstat (limited to 'eclass/cvs.eclass')
-rw-r--r--eclass/cvs.eclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/cvs.eclass b/eclass/cvs.eclass
index 8224ce7a7cd3..06d443bca5ba 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.38 2003/04/22 20:43:29 danarmak Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/cvs.eclass,v 1.39 2003/04/23 20:09:50 danarmak Exp $
#
# Author Dan Armak <danarmak@gentoo.org>
#
@@ -231,12 +231,12 @@ 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
+ if [ -d "${ECVS_TOP_DIR}/${ECVS_MODULE}" ]; then
debug-print "$FUNCNAME: offline mode, exiting"
return 0
else
- debug-print "$FUNCNAME: offline mode specified but module/subdir not found, exiting with error"
- die "ERROR: Offline mode specified, but module/subdir checkout not found. Aborting."
+ 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."
fi
elif [ -n "$ECVS_SERVER" ]; then # ECVS_SERVER!=offline --> real fetching mode
einfo "Fetching cvs module $ECVS_MODULE into $ECVS_TOP_DIR..."