summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorBertrand Jacquin <beber@meleeweb.net>2006-03-21 11:15:37 +0100
committerBertrand Jacquin <beber@meleeweb.net>2006-03-21 11:15:37 +0100
commit37bdd422c735d8f7382ddcf9b7c9bf9e9f553984 (patch)
tree62da0912212f6a4b264f1e6cf89200f2ad27cf04 /eclass
parente.eclass: fetch mirror tar in unpack and download them if server file is newer (diff)
downloadportage-37bdd422c735d8f7382ddcf9b7c9bf9e9f553984.tar.xz
e.eclass: support download tar provide by caro
Diffstat (limited to 'eclass')
-rw-r--r--eclass/enlightenment.eclass3
1 files changed, 1 insertions, 2 deletions
diff --git a/eclass/enlightenment.eclass b/eclass/enlightenment.eclass
index 67c620cc..2fc8deee 100644
--- a/eclass/enlightenment.eclass
+++ b/eclass/enlightenment.eclass
@@ -117,9 +117,8 @@ gettext_modify() {
enlightenment_src_unpack() {
if [[ ${ECVS_STATE} == "mirror" ]] ; then
B="${PN}.tar.bz2"
- cp -p /usr/portage/distfiles/${B} ${DISTDIR} 2> /dev/null
+ ln -sf /usr/portage/distfiles/${B} ${DISTDIR} 2> /dev/null
wget -t 5 --passive-ftp ${ECVS_MIRROR}/${ECVS_MODULE}.tar.bz2 --progress=bar:force -N -P ${DISTDIR}
- cp -p ${DISTDIR}/${B} /usr/portage/distfiles 2> /dev/null
unpack ${B}
elif [[ ${ECVS_STATE} == "live" ]] ; then
cvs_src_unpack