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

Diff of /eclass/mercurial.eclass

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

Revision 1.9 Revision 1.10
1# Copyright 1999-2006 Gentoo Foundation 1# Copyright 1999-2006 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.9 2010/01/17 11:21:12 nelchael Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/mercurial.eclass,v 1.10 2010/01/17 12:03:48 nelchael Exp $
4 4
5# @ECLASS: mercurial.eclass 5# @ECLASS: mercurial.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# nelchael@gentoo.org 7# nelchael@gentoo.org
8# @BLURB: This eclass provides generic mercurial fetching functions 8# @BLURB: This eclass provides generic mercurial fetching functions
90 90
91 # Create project directory: 91 # Create project directory:
92 mkdir -p "${hg_src_dir}/${EHG_PROJECT}" || \ 92 mkdir -p "${hg_src_dir}/${EHG_PROJECT}" || \
93 die "failed to create ${hg_src_dir}/${EHG_PROJECT}" 93 die "failed to create ${hg_src_dir}/${EHG_PROJECT}"
94 chmod -f g+rw "${hg_src_dir}/${EHG_PROJECT}" || \ 94 chmod -f g+rw "${hg_src_dir}/${EHG_PROJECT}" || \
95 die "failed to chwon ${EHG_PROJECT}" 95 echo "Warning: failed to chmod g+rw ${EHG_PROJECT}"
96 cd "${hg_src_dir}/${EHG_PROJECT}" || \ 96 cd "${hg_src_dir}/${EHG_PROJECT}" || \
97 die "failed to cd to ${hg_src_dir}/${EHG_PROJECT}" 97 die "failed to cd to ${hg_src_dir}/${EHG_PROJECT}"
98 98
99 # Clone/update repository: 99 # Clone/update repository:
100 if [[ ! -d "${module}" ]]; then 100 if [[ ! -d "${module}" ]]; then

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

  ViewVC Help
Powered by ViewVC 1.1.20