summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-12-09 10:04:16 +0000
committerMike Frysinger <vapier@gentoo.org>2009-12-09 10:04:16 +0000
commit01642a7a1e8707e8f184203e9ad1191bcedcfedb (patch)
tree7672cdfe7a84cc78f2e678944630fd2724b121f1 /eclass
parentMove into main tree to await the arrival of eclipse-sdk 3.5. (diff)
downloadgentoo-2-01642a7a1e8707e8f184203e9ad1191bcedcfedb.tar.gz
gentoo-2-01642a7a1e8707e8f184203e9ad1191bcedcfedb.tar.bz2
gentoo-2-01642a7a1e8707e8f184203e9ad1191bcedcfedb.zip
tweak default EBZR_STORE_DIR value to something eclass-manpages can easily parse
Diffstat (limited to 'eclass')
-rw-r--r--eclass/bzr.eclass5
1 files changed, 2 insertions, 3 deletions
diff --git a/eclass/bzr.eclass b/eclass/bzr.eclass
index f82dad020094..fb4904a9c76e 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.5 2009/09/24 08:11:45 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/bzr.eclass,v 1.6 2009/12/09 10:04:16 vapier Exp $
#
# @ECLASS: bzr.eclass
# @MAINTAINER:
@@ -35,8 +35,7 @@ DEPEND=">=dev-util/bzr-1.5"
# @ECLASS-VARIABLE: EBZR_STORE_DIR
# @DESCRIPTION:
# The directory to store all fetched Bazaar live sources.
-[[ -z ${EBZR_STORE_DIR} ]] && \
- EBZR_STORE_DIR="${PORTAGE_ACTUAL_DISTDIR-${DISTDIR}}/bzr-src"
+: ${EBZR_STORE_DIR:=${PORTAGE_ACTUAL_DISTDIR-${DISTDIR}}/bzr-src}
# @ECLASS-VARIABLE: EBZR_FETCH_CMD
# @DESCRIPTION: