diff options
author | Torben Hohn <torbenh@gentoo.org> | 2003-06-13 09:22:47 +0000 |
---|---|---|
committer | Torben Hohn <torbenh@gentoo.org> | 2003-06-13 09:22:47 +0000 |
commit | 59914c64b8d57cc367905946f1cff0f77e76b598 (patch) | |
tree | 3ed4d6502fc386aa591747e7ffb729c162672188 /eclass | |
parent | tweaking the example login scripts. (diff) | |
download | gentoo-2-59914c64b8d57cc367905946f1cff0f77e76b598.tar.gz gentoo-2-59914c64b8d57cc367905946f1cff0f77e76b598.tar.bz2 gentoo-2-59914c64b8d57cc367905946f1cff0f77e76b598.zip |
Fixed sourforge.net which doesnt like -z4 anymore
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/cvs.eclass | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/eclass/cvs.eclass b/eclass/cvs.eclass index 5980236d173f..88704571d225 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.41 2003/06/10 22:06:18 danarmak Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/cvs.eclass,v 1.42 2003/06/13 09:22:47 torbenh Exp $ # # Author Dan Armak <danarmak@gentoo.org> # @@ -79,6 +79,10 @@ DEPEND="$DEPEND dev-util/cvs app-admin/sudo" # calls cvs_contorl, is called from cvs_src_unpack cvs_fetch() { + # fix for sourceforge which doesnt want -z>3 anymore. + + (echo $ECVS_SERVER | grep sourceforge) && [ "$ECVS_CVS_COMMAND" == "cvs -q -f -z4" ] && ECVS_CVS_COMMAND="cvs -q -f -z3" + debug-print-function $FUNCNAME $* # parameters modifying other parameters that should be effective every time cvs_fetch is called, |