diff options
author | Lennart Kolmodin <kolmodin@gentoo.org> | 2007-11-01 19:24:24 +0000 |
---|---|---|
committer | Lennart Kolmodin <kolmodin@gentoo.org> | 2007-11-01 19:24:24 +0000 |
commit | cbf4db0c318f75f53fd85f8c18acb19ec70bd147 (patch) | |
tree | 50d4862e1aa0ca57f6e5f88f1df606d688b09def /eclass | |
parent | Stable on x86, bug #197747 (diff) | |
download | historical-cbf4db0c318f75f53fd85f8c18acb19ec70bd147.tar.gz historical-cbf4db0c318f75f53fd85f8c18acb19ec70bd147.tar.bz2 historical-cbf4db0c318f75f53fd85f8c18acb19ec70bd147.zip |
Make the darcs eclass copy using rsync instead of cp like most other SCM
eclasses to exclude the _darcs directory.
Patch by Avuton Olrich <avuton@gmail.com>.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/darcs.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/darcs.eclass b/eclass/darcs.eclass index aaed4111609c..a84d7ece2163 100644 --- a/eclass/darcs.eclass +++ b/eclass/darcs.eclass @@ -1,6 +1,6 @@ # Copyright 2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/darcs.eclass,v 1.5 2007/06/17 21:33:57 kolmodin Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/darcs.eclass,v 1.6 2007/11/01 19:24:24 kolmodin Exp $ # # darcs eclass author: Andres Loeh <kosmikus@gentoo.org> # tla eclass author: <rphillips@gentoo.org> @@ -142,7 +142,7 @@ darcs_src_unpack() { EDARCS_SHOPT=$(shopt -p dotglob) shopt -s dotglob # get any dotfiles too. - cp -Rf "$EDARCS_TOP_DIR/$EDARCS_LOCALREPO"/* "${WORKDIR}/${P}" + rsync -rlpgo --exclude="_darcs/" "$EDARCS_TOP_DIR/$EDARCS_LOCALREPO"/* "${WORKDIR}/${P}" eval ${EDARCS_SHOPT} # reset shopt einfo "Darcs repository contents are now in ${WORKDIR}/${P}" |