# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/cvs.eclass,v 1.66 2006/12/11 00:09:31 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/cvs.eclass,v 1.67 2006/12/11 00:11:46 vapier Exp $
#
# Maintainer: vapier@gentoo.org (and anyone who wants to help)
# quiet, to disregard the ~/.cvsrc config file and to use maximum
# compression.
-[ -z "$ECVS_CVS_COMMAND" ] && ECVS_CVS_COMMAND="cvs -q -f -z4"
+[[ -z ${ECVS_CVS_COMPRESS} ]] && ECVS_CVS_COMPRESS="-z1"
+[[ -z ${ECVS_CVS_OPTIONS} ]] && ECVS_CVS_OPTIONS="-q -f"
+[[ -z ${ECVS_CVS_COMMAND} ]] && ECVS_CVS_COMMAND="cvs ${ECVS_CVS_OPTIONS} ${ECVS_CVS_COMPRESS}"
# ECVS_UP_OPTS, ECVS_CO_OPTS -- CVS options given after the cvs
local ECVS_UP_OPTS="${ECVS_UP_OPTS}"
local ECVS_CO_OPTS="${ECVS_CO_OPTS}"
- # Fix for sourceforge which doesnt want -z>3 anymore.
-
- (echo $ECVS_SERVER | grep -q sourceforge) \
- && [ "$ECVS_CVS_COMMAND" == "cvs -q -f -z4" ] \
- && ECVS_CVS_COMMAND="cvs -q -f -z3"
-
debug-print-function $FUNCNAME $*
# Update variables that are modified by ebuild parameters, which