summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-04-07 06:05:41 +0000
committerMike Frysinger <vapier@gentoo.org>2005-04-07 06:05:41 +0000
commit649709a866eb93ff686bf0154d52cbf67b00364f (patch)
tree11527a20c9d097d75631917b216ff8b29ed3cfdd /eclass
parentAdded new snapshot and mirror it on Gentoo distfiles server. This closes bug ... (diff)
downloadhistorical-649709a866eb93ff686bf0154d52cbf67b00364f.tar.gz
historical-649709a866eb93ff686bf0154d52cbf67b00364f.tar.bz2
historical-649709a866eb93ff686bf0154d52cbf67b00364f.zip
dont set BRANCH_UPDATE if ebuild set it to empty string
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index dbea2b5aad83..639ec13e89fc 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.140 2005/04/07 04:46:48 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.141 2005/04/07 06:05:41 vapier Exp $
HOMEPAGE="http://www.gnu.org/software/gcc/gcc.html"
LICENSE="GPL-2 LGPL-2.1"
@@ -62,7 +62,7 @@ GCC_BRANCH_VER=$(get_version_component_range 1-2)
GCCMAJOR=$(get_version_component_range 1)
GCCMINOR=$(get_version_component_range 2)
GCCMICRO=$(get_version_component_range 3)
-[[ -z ${BRANCH_UPDATE} ]] && BRANCH_UPDATE=$(get_version_component_range 4)
+[[ ${BRANCH_UPDATE-notset} == "notset" ]] && BRANCH_UPDATE=$(get_version_component_range 4)
# According to gcc/c-cppbuiltin.c, GCC_CONFIG_VER MUST match this regex.
# ([^0-9]*-)?[0-9]+[.][0-9]+([.][0-9]+)?([- ].*)?