Fix bug in cdrom_get_cds() identified by Jared <nitro@legroom.net> when using multipl...
authorDoug Goldstein <cardoe@gentoo.org>
Sat, 10 Jul 2010 06:02:59 +0000 (06:02 +0000)
committerDoug Goldstein <cardoe@gentoo.org>
Sat, 10 Jul 2010 06:02:59 +0000 (06:02 +0000)
eclass/eutils.eclass

index 5bc2c72a3809f652332c32d6f99dee5f0189d8c9..83d1a390a85a0b0be247395493935babd725dbec 100644 (file)
@@ -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))