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

Diff of /eclass/subversion.eclass

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

Revision 1.27 Revision 1.28
1# Copyright 1999-2006 Gentoo Foundation 1# Copyright 1999-2006 Gentoo Foundation
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/subversion.eclass,v 1.27 2006/02/05 20:47:17 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/subversion.eclass,v 1.28 2006/03/20 15:01:59 hattya Exp $
4 4
5## --------------------------------------------------------------------------- # 5## --------------------------------------------------------------------------- #
6# Author: Akinori Hattori <hattya@gentoo.org> 6# Author: Akinori Hattori <hattya@gentoo.org>
7# 7#
8# The subversion eclass is written to fetch the software sources from 8# The subversion eclass is written to fetch the software sources from
181 fi 181 fi
182 182
183 # export to the ${WORKDIR} 183 # export to the ${WORKDIR}
184 # for the time being, we use `cp -R` instead of `svn export` due to 184 # for the time being, we use `cp -R` instead of `svn export` due to
185 # a bug in svn export handling. see http://bugs.gentoo.org/119236 185 # a bug in svn export handling. see http://bugs.gentoo.org/119236
186 #svn export "${ESVN_STORE_DIR}/${ESVN_CO_DIR}" "${S}" || die "${ESVN}: can't export to ${S}." 186 #svn export "${ESVN_STORE_DIR}/${ESVN_CO_DIR}" "${S}" || die "${ESVN}: can't exportto ${S}."
187 cp -pPR "${ESVN_STORE_DIR}/${ESVN_CO_DIR}" "${S}" || die "${ESVN}: can't copy to ${S}." 187 cp -pPR "${ESVN_STORE_DIR}/${ESVN_CO_DIR}" "${S}" || die "${ESVN}: can't copy to ${S}."
188 find "${S}" -name .svn -print0 | xargs -0 rm -rf {} \; 188 find "${S}" -name .svn -print0 | xargs -0 rm -rf {} \;
189 einfo " exported to: ${S}" 189 einfo " exported to: ${S}"
190 echo 190 echo
191 191
241 241
242## -- subversion_src_unpack() ------------------------------------------------ # 242## -- subversion_src_unpack() ------------------------------------------------ #
243 243
244function subversion_src_unpack() { 244function subversion_src_unpack() {
245 245
246 if [ -n "${A}" ]; then
247 unpack ${A}
248 fi
249
250 subversion_svn_fetch || die "${ESVN}: unknown problem in subversion_svn_fetch()." 246 subversion_svn_fetch || die "${ESVN}: unknown problem in subversion_svn_fetch()."
251 subversion_bootstrap || die "${ESVN}: unknown problem in subversion_bootstrap()." 247 subversion_bootstrap || die "${ESVN}: unknown problem in subversion_bootstrap()."
252 248
253} 249}

Legend:
Removed from v.1.27  
changed lines
  Added in v.1.28

  ViewVC Help
Powered by ViewVC 1.1.20