From e98b40fef4b80af8b2cf2b9d5328d1b634f29c77 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 15 Nov 2014 06:20:07 +0000 Subject: use $EPREFIX when looking for config.sub files #470146 --- eclass/gnuconfig.eclass | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'eclass') diff --git a/eclass/gnuconfig.eclass b/eclass/gnuconfig.eclass index 7f5ce37208e6..aeb176cde19b 100644 --- a/eclass/gnuconfig.eclass +++ b/eclass/gnuconfig.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/gnuconfig.eclass,v 1.35 2013/05/22 06:03:08 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/gnuconfig.eclass,v 1.36 2014/11/15 06:20:07 vapier Exp $ # # THIS ECLASS IS DEAD: It has been integrated into portage # @@ -88,10 +88,10 @@ gnuconfig_do_update() { # returns the directory where they can be found. gnuconfig_findnewest() { local locations=( - /usr/share/misc/config.sub - /usr/share/gnuconfig/config.sub - /usr/share/automake*/config.sub - /usr/share/libtool/config.sub + "${EPREFIX}"/usr/share/misc/config.sub + "${EPREFIX}"/usr/share/gnuconfig/config.sub + "${EPREFIX}"/usr/share/automake*/config.sub + "${EPREFIX}"/usr/share/libtool/config.sub ) grep -s '^timestamp' "${locations[@]}" | \ sort -r -n -t\' -k2 | \ -- cgit v1.2.3-65-gdbad