summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorJoel Martin <kanaka@gentoo.org>2006-11-12 00:29:48 +0000
committerJoel Martin <kanaka@gentoo.org>2006-11-12 00:29:48 +0000
commit731ec7e51f3901afc1304174eb373c62fa01f8b6 (patch)
tree3dc9fb89bee88c9b0594002df0492559464bddf0 /eclass
parentFix QA/Multilib-strict issue, bug #154835 (diff)
downloadgentoo-2-731ec7e51f3901afc1304174eb373c62fa01f8b6.tar.gz
gentoo-2-731ec7e51f3901afc1304174eb373c62fa01f8b6.tar.bz2
gentoo-2-731ec7e51f3901afc1304174eb373c62fa01f8b6.zip
Change process substitution to HERE string. This avoids a bug in <bash-3.2 that has a corrupt representation of this sort of process substitution. Was preventing environment.tbz2 from being re-sourced later.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/eutils.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass
index 3fb5e0313466..856bff530309 100644
--- a/eclass/eutils.eclass
+++ b/eclass/eutils.eclass
@@ -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