From: Mike Frysinger Date: Mon, 11 Dec 2006 00:11:46 +0000 (+0000) Subject: break options out of command so people can set their own custom options/compress X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c5c6825b4c290fc1a707bafab3cb2f9d62843c78;p=gentoo.git break options out of command so people can set their own custom options/compress --- diff --git a/eclass/cvs.eclass b/eclass/cvs.eclass index 002cc172448c..8b8eb1b34c59 100644 --- a/eclass/cvs.eclass +++ b/eclass/cvs.eclass @@ -1,6 +1,6 @@ # 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) @@ -35,7 +35,9 @@ inherit eutils # 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 @@ -174,12 +176,6 @@ cvs_fetch() { 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