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

Diff of /eclass/bzr.eclass

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

Revision 1.14 Revision 1.15
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2011 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/bzr.eclass,v 1.14 2011/04/20 17:16:34 ulm Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/bzr.eclass,v 1.15 2011/07/26 23:22:35 ulm Exp $
4# 4#
5# @ECLASS: bzr.eclass 5# @ECLASS: bzr.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>, 7# Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>,
8# Ulrich Müller <ulm@gentoo.org>, 8# Ulrich Müller <ulm@gentoo.org>,
253 bzr_update "${EBZR_REPO_URI}" "${branch_dir}" 253 bzr_update "${EBZR_REPO_URI}" "${branch_dir}"
254 fi 254 fi
255 255
256 cd "${branch_dir}" || die "${EBZR}: can't chdir to ${branch_dir}" 256 cd "${branch_dir}" || die "${EBZR}: can't chdir to ${branch_dir}"
257 257
258 # Save some variables in environment. #311101 258 # Save revision number in environment. #311101
259 export EBZR_REVNO=$(${EBZR_REVNO_CMD}) 259 export EBZR_REVNO=$(${EBZR_REVNO_CMD})
260 export EBZR_WC_PATH=${branch_dir}
261 260
262 einfo "exporting ..." 261 einfo "exporting ..."
263 ${EBZR_EXPORT_CMD} ${EBZR_REVISION:+-r ${EBZR_REVISION}} \ 262 ${EBZR_EXPORT_CMD} ${EBZR_REVISION:+-r ${EBZR_REVISION}} \
264 "${WORKDIR}/${P}" . || die "${EBZR}: export failed" 263 "${WORKDIR}/${P}" . || die "${EBZR}: export failed"
265 einfo "revision ${EBZR_REVISION:-${EBZR_REVNO}} is now in ${WORKDIR}/${P}" 264 einfo "revision ${EBZR_REVISION:-${EBZR_REVNO}} is now in ${WORKDIR}/${P}"

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

  ViewVC Help
Powered by ViewVC 1.1.20