diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-12-11 00:11:46 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-12-11 00:11:46 +0000 |
commit | 03b4edd085ff0fc4a6378015295c9ca3fd6b5078 (patch) | |
tree | 03dfd210c764204228275e7eef13a2891a29bd68 /eclass | |
parent | add support for ECVS_PROXY/ECVS_PROXY_PORT #155017 by Botykai Zsolt (diff) | |
download | gentoo-2-03b4edd085ff0fc4a6378015295c9ca3fd6b5078.tar.gz gentoo-2-03b4edd085ff0fc4a6378015295c9ca3fd6b5078.tar.bz2 gentoo-2-03b4edd085ff0fc4a6378015295c9ca3fd6b5078.zip |
break options out of command so people can set their own custom options/compress
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/cvs.eclass | 12 |
1 files changed, 4 insertions, 8 deletions
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 |