/[gentoo-x86]/eclass/mercurial.eclass
Gentoo

Diff of /eclass/mercurial.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.22 Revision 1.23
1# Copyright 1999-2013 Gentoo Foundation 1# Copyright 1999-2013 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/mercurial.eclass,v 1.22 2013/04/28 16:15:33 zmedico Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/mercurial.eclass,v 1.23 2013/11/04 22:05:31 floppym Exp $
4 4
5# @ECLASS: mercurial.eclass 5# @ECLASS: mercurial.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# Christoph Junghans <ottxor@gentoo.org> 7# Christoph Junghans <ottxor@gentoo.org>
8# Dirkjan Ochtman <djc@gentoo.org> 8# Dirkjan Ochtman <djc@gentoo.org>
83 has "${EAPI:-0}" 0 1 2 && ! use prefix && EPREFIX= 83 has "${EAPI:-0}" 0 1 2 && ! use prefix && EPREFIX=
84 84
85 EHG_REPO_URI=${1-${EHG_REPO_URI}} 85 EHG_REPO_URI=${1-${EHG_REPO_URI}}
86 [[ -z "${EHG_REPO_URI}" ]] && die "EHG_REPO_URI is empty" 86 [[ -z "${EHG_REPO_URI}" ]] && die "EHG_REPO_URI is empty"
87 87
88 local cert_opt= 88 local cert_opt=()
89 [[ -f ${EPREFIX}/etc/ssl/certs/ca-certificates.crt ]] && \ 89 [[ -f ${EPREFIX}/etc/ssl/certs/ca-certificates.crt ]] && \
90 cert_opt=( --config "web.cacerts=${EPREFIX}/etc/ssl/certs/ca-certificates.crt" ) 90 cert_opt=( --config "web.cacerts=${EPREFIX}/etc/ssl/certs/ca-certificates.crt" )
91 91
92 local module="${2-$(basename "${EHG_REPO_URI}")}" 92 local module="${2-$(basename "${EHG_REPO_URI}")}"
93 local sourcedir="${3-${S}}" 93 local sourcedir="${3-${S}}"

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23

  ViewVC Help
Powered by ViewVC 1.1.20