Change process substitution to HERE string. This avoids a bug in <bash-3.2 that has...
authorJoel Martin <kanaka@gentoo.org>
Sun, 12 Nov 2006 00:29:48 +0000 (00:29 +0000)
committerJoel Martin <kanaka@gentoo.org>
Sun, 12 Nov 2006 00:29:48 +0000 (00:29 +0000)
eclass/eutils.eclass

index 3fb5e031346632947fe3993e41093a80a3740420..856bff53030952cc411c88293d38acf4528fb68c 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2006 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.261 2006/11/11 15:13:46 kanaka Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.262 2006/11/12 00:29:48 kanaka Exp $
 #
 # This eclass is for general purpose functions that most ebuilds
 # have to implement themselves.
@@ -1413,7 +1413,7 @@ _cdrom_locate_file_on_cd() {
                                export CDROM_SET=${i}
                                export CDROM_MATCH=${cdset[${i}]}
                                return
-                       done < <(get_mounts)
+                       done <<< "$(get_mounts)"
 
                        ((++i))
                done