diff options
author | Dan Armak <danarmak@gentoo.org> | 2002-09-22 18:43:20 +0000 |
---|---|---|
committer | Dan Armak <danarmak@gentoo.org> | 2002-09-22 18:43:20 +0000 |
commit | 8b4b2834fd5f3e2d57e22f30d5c2af5fb68b42b7 (patch) | |
tree | 845b612329ff65bc1f721cbae59a13234c565f59 /eclass/cvs.eclass | |
parent | Masking perl-ldap while slushy. (diff) | |
download | historical-8b4b2834fd5f3e2d57e22f30d5c2af5fb68b42b7.tar.gz historical-8b4b2834fd5f3e2d57e22f30d5c2af5fb68b42b7.tar.bz2 historical-8b4b2834fd5f3e2d57e22f30d5c2af5fb68b42b7.zip |
fix bug with non-local fetches where ECVS_SUBDIR has depth of two levels or more; things were being copied to wrong places, breaking things like k3b
Diffstat (limited to 'eclass/cvs.eclass')
-rw-r--r-- | eclass/cvs.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/cvs.eclass b/eclass/cvs.eclass index 709b7a78cee8..1e96a5d39c18 100644 --- a/eclass/cvs.eclass +++ b/eclass/cvs.eclass @@ -1,7 +1,7 @@ # Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Dan Armak <danarmak@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/eclass/cvs.eclass,v 1.19 2002/09/16 14:44:20 danarmak Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/cvs.eclass,v 1.20 2002/09/22 18:43:20 danarmak Exp $ # This eclass provides the generic cvs fetching functions. ECLASS=cvs @@ -216,7 +216,7 @@ cvs_src_unpack() { if [ -n "$ECVS_LOCAL" ]; then cp -f $ECVS_TOP_DIR/$ECVS_MODULE/$ECVS_SUBDIR/* $WORKDIR/$ECVS_MODULE/$ECVS_SUBDIR else - cp -Rf $ECVS_TOP_DIR/$ECVS_MODULE/$ECVS_SUBDIR $WORKDIR/$ECVS_MODULE + cp -Rf $ECVS_TOP_DIR/$ECVS_MODULE/$ECVS_SUBDIR $WORKDIR/$ECVS_MODULE/$ECVS_SUBDIR/.. fi else if [ -n "$ECVS_LOCAL" ]; then |