diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-02-05 20:47:17 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-02-05 20:47:17 +0000 |
commit | 139bac15adcc2bfbafe8d6d7b454c59910b38364 (patch) | |
tree | 444ce9563dd3deacd29de81ed5015e95b3772b37 /eclass | |
parent | New vim7 snapshot. (diff) | |
download | historical-139bac15adcc2bfbafe8d6d7b454c59910b38364.tar.gz historical-139bac15adcc2bfbafe8d6d7b454c59910b38364.tar.bz2 historical-139bac15adcc2bfbafe8d6d7b454c59910b38364.zip |
add workaround for broken `svn export` behavior #119236 by Joe Kappus
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/subversion.eclass | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/eclass/subversion.eclass b/eclass/subversion.eclass index 6b652fb498d0..36da4625b252 100644 --- a/eclass/subversion.eclass +++ b/eclass/subversion.eclass @@ -1,6 +1,6 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/subversion.eclass,v 1.26 2006/01/07 23:46:57 ferringb Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/subversion.eclass,v 1.27 2006/02/05 20:47:17 vapier Exp $ ## --------------------------------------------------------------------------- # # Author: Akinori Hattori <hattya@gentoo.org> @@ -181,7 +181,11 @@ function subversion_svn_fetch() { fi # export to the ${WORKDIR} - svn export "${ESVN_STORE_DIR}/${ESVN_CO_DIR}" "${S}" || die "${ESVN}: can't exportto ${S}." + # for the time being, we use `cp -R` instead of `svn export` due to + # a bug in svn export handling. see http://bugs.gentoo.org/119236 + #svn export "${ESVN_STORE_DIR}/${ESVN_CO_DIR}" "${S}" || die "${ESVN}: can't export to ${S}." + cp -pPR "${ESVN_STORE_DIR}/${ESVN_CO_DIR}" "${S}" || die "${ESVN}: can't copy to ${S}." + find "${S}" -name .svn -print0 | xargs -0 rm -rf {} \; einfo " exported to: ${S}" echo |