/[gentoo-x86]/eclass/cvs.eclass
Gentoo

Diff of /eclass/cvs.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.3 Revision 1.4
1# Copyright 1999-2000 Gentoo Technologies, Inc. 1# Copyright 1999-2000 Gentoo Technologies, Inc.
2# Distributed under the terms of the GNU General Public License, v2 or later 2# Distributed under the terms of the GNU General Public License, v2 or later
3# Author Dan Armak <danarmak@gentoo.org> 3# Author Dan Armak <danarmak@gentoo.org>
4# $Header: /var/cvsroot/gentoo-x86/eclass/cvs.eclass,v 1.3 2002/07/18 14:07:15 danarmak Exp $ 4# $Header: /var/cvsroot/gentoo-x86/eclass/cvs.eclass,v 1.4 2002/07/18 17:37:32 danarmak Exp $
5# This eclass provides the generic cvs fetching functions. 5# This eclass provides the generic cvs fetching functions.
6 6
7ECLASS=cvs 7ECLASS=cvs
8INHERITED="$INHERITED $ECLASS" 8INHERITED="$INHERITED $ECLASS"
9 9
140 # the reason this lives here and not in kde-source_src_unpack 140 # the reason this lives here and not in kde-source_src_unpack
141 # is that in the future after copying the sources we might need to 141 # is that in the future after copying the sources we might need to
142 # delete them, so this has to be self-contained 142 # delete them, so this has to be self-contained
143 cp -Rf ${ECVS_TOP_DIR}/${ECVS_MODULE} $WORKDIR 143 cp -Rf ${ECVS_TOP_DIR}/${ECVS_MODULE} $WORKDIR
144 144
145 # typically for kde cvs, the admin subdir lives in the kde-common module
146 # which is also needed
147 if [ ! -d "${WORKDIR}/${ECVS_MODULE}/admin" ]; then
148 ECVS_MODULE="kde-common" cvs_fetch
149 einfo "Copying admin/ subdir from module kde-common, $ECVS_TOP_DIR..."
150 debug-print "Copying admin/ subdir from module kde-common, $ECVS_TOP_DIR..."
151 cp -Rf ${ECVS_TOP_DIR}/${ECVS_MODULE} $WORKDIR
152 fi
153
154} 145}
155 146
156EXPORT_FUNCTIONS src_unpack 147EXPORT_FUNCTIONS src_unpack
157 148

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.20