diff options
author | Christian Faulhammer <fauli@gentoo.org> | 2009-08-04 20:18:23 +0000 |
---|---|---|
committer | Christian Faulhammer <fauli@gentoo.org> | 2009-08-04 20:18:23 +0000 |
commit | b53d9a4de02070e103513919ec375d5eb4414ec7 (patch) | |
tree | 097dabb8875b4bca3205ea5d9b36d28e553cf48b /eclass | |
parent | Initial import. (diff) | |
download | historical-b53d9a4de02070e103513919ec375d5eb4414ec7.tar.gz historical-b53d9a4de02070e103513919ec375d5eb4414ec7.tar.bz2 historical-b53d9a4de02070e103513919ec375d5eb4414ec7.zip |
bzr.eclass: Added patch from Justin Lecher (jlec) <jlec AT j-schmitz DOT net> provided in bug 279770 for a custom setting of EBZR_STORE_DIR
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/bzr.eclass | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/bzr.eclass b/eclass/bzr.eclass index b5533a8c68e8..1b3e5287aa44 100644 --- a/eclass/bzr.eclass +++ b/eclass/bzr.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/bzr.eclass,v 1.2 2009/07/08 09:47:38 fauli Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/bzr.eclass,v 1.3 2009/08/04 20:18:23 fauli Exp $ # # @ECLASS: bzr.eclass # @MAINTAINER: @@ -35,7 +35,8 @@ DEPEND=">=dev-util/bzr-1.5" # @ECLASS-VARIABLE: EBZR_STORE_DIR # @DESCRIPTION: # The directory to store all fetched Bazaar live sources. -EBZR_STORE_DIR="${PORTAGE_ACTUAL_DISTDIR-${DISTDIR}}/bzr-src" +[[ -z ${EBZR_STORE_DIR} ]] && \ + EBZR_STORE_DIR="${PORTAGE_ACTUAL_DISTDIR-${DISTDIR}}/bzr-src" # @ECLASS-VARIABLE: EBZR_FETCH_CMD # @DESCRIPTION: |