| 1 | # Copyright 1999-2003 Gentoo Technologies, Inc. |
1 | # Copyright 1999-2003 Gentoo Technologies, Inc. |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/eclass/cvs.eclass,v 1.34 2003/03/28 22:57:06 mholzer Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/cvs.eclass,v 1.35 2003/04/17 09:05:03 cretin Exp $ |
| 4 | # |
4 | # |
| 5 | # Author Dan Armak <danarmak@gentoo.org> |
5 | # Author Dan Armak <danarmak@gentoo.org> |
| 6 | # |
6 | # |
| 7 | # This eclass provides the generic cvs fetching functions. |
7 | # This eclass provides the generic cvs fetching functions. |
| 8 | |
8 | |
| … | |
… | |
| 59 | # I don't like the former ="$PN" default setting |
59 | # I don't like the former ="$PN" default setting |
| 60 | [ -z "$ECVS_MODULE" ] && debug-print "$ECLASS: error: ECVS_MODULE not set, cannot continue" |
60 | [ -z "$ECVS_MODULE" ] && debug-print "$ECLASS: error: ECVS_MODULE not set, cannot continue" |
| 61 | |
61 | |
| 62 | # Branch/tag to use, default is HEAD |
62 | # Branch/tag to use, default is HEAD |
| 63 | # uncomment the following line to enable the reset-branch-to-HEAD behaviour |
63 | # uncomment the following line to enable the reset-branch-to-HEAD behaviour |
| 64 | [ -z "$ECVS_BRANCH" ] && ECVS_BRANCH="HEAD" |
64 | # [ -z "$ECVS_BRANCH" ] && ECVS_BRANCH="HEAD" |
| 65 | |
65 | |
| 66 | # Subdirectory in module to be fetched, default is not defined = whole module |
66 | # Subdirectory in module to be fetched, default is not defined = whole module |
| 67 | # DO NOT set default to "", if it's defined at all code will break! |
67 | # DO NOT set default to "", if it's defined at all code will break! |
| 68 | # don't uncomment following line! |
68 | # don't uncomment following line! |
| 69 | #[ -z "$ECVS_SUBDIR" ] && ECVS_SUBDIR="" |
69 | #[ -z "$ECVS_SUBDIR" ] && ECVS_SUBDIR="" |