From 701f8d9436847dfd69ca57cc758323ee4359d01b Mon Sep 17 00:00:00 2001 From: Doug Goldstein Date: Sat, 10 Jul 2010 06:02:59 +0000 Subject: [PATCH] Fix bug in cdrom_get_cds() identified by Jared when using multiple CDs. bug #327549. Also found a minor typo and fixed that. --- eclass/eutils.eclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass index 5bc2c72a3809..83d1a390a85a 100644 --- a/eclass/eutils.eclass +++ b/eclass/eutils.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/eutils.eclass,v 1.345 2010/06/23 21:24:50 cardoe Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.346 2010/07/10 06:02:59 cardoe Exp $ # @ECLASS: eutils.eclass # @MAINTAINER: @@ -1512,7 +1512,7 @@ cdrom_get_cds() { export CDROM_SET=-1 for f in ${CDROM_CHECK_1//:/ } ; do ((++CDROM_SET)) - [[ -e ${CD_ROOT}/${f} ]] && break + [[ -e ${CDROM_ROOT}/${f} ]] && break done export CDROM_MATCH=${f} return @@ -1552,7 +1552,7 @@ cdrom_get_cds() { einfo "If you do not have the CDs, but have the data files" einfo "mounted somewhere on your filesystem, just export" einfo "the following variables so they point to the right place:" - einfon "" + einfo "" cdcnt=0 while [[ ${cdcnt} -lt ${CDROM_TOTAL_CDS} ]] ; do ((++cdcnt)) -- 2.26.2