summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2009-12-29 17:18:16 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2009-12-29 17:18:16 +0000
commit95b866447e4f6db0724e8fae7e9f86fe98685303 (patch)
treed2c313045e99ff20923401dfb8ef0c30ea2da2bc /eclass/git.eclass
parentAutomated update of use.local.desc (diff)
downloadhistorical-95b866447e4f6db0724e8fae7e9f86fe98685303.tar.gz
historical-95b866447e4f6db0724e8fae7e9f86fe98685303.tar.bz2
historical-95b866447e4f6db0724e8fae7e9f86fe98685303.zip
Replace cp with git clone (faster, yay)
Diffstat (limited to 'eclass/git.eclass')
-rw-r--r--eclass/git.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/git.eclass b/eclass/git.eclass
index b120780aac61..a6abf8a2a0c6 100644
--- a/eclass/git.eclass
+++ b/eclass/git.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/git.eclass,v 1.32 2009/12/16 20:35:38 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/git.eclass,v 1.33 2009/12/29 17:18:16 scarabeus Exp $
# @ECLASS: git.eclass
# @MAINTAINER:
@@ -304,7 +304,7 @@ git_fetch() {
# unpack to the ${S}
popd &> /dev/null
debug-print "cp -aR \"${GIT_DIR}\" \"${S}\""
- cp -aR "${GIT_DIR}" "${S}"
+ git clone "${GIT_DIR}" "${S}"
# set correct branch and the tree ebuild specified
pushd "${S}" > /dev/null