diff options
author | Mike Frysinger <vapier@gentoo.org> | 2014-11-15 06:20:07 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2014-11-15 06:20:07 +0000 |
commit | e98b40fef4b80af8b2cf2b9d5328d1b634f29c77 (patch) | |
tree | 2317a7fa76532d34cd6c7da3f7a635b41cc5883c /eclass | |
parent | Update to EAPI=4 and unify behavior across versions. (diff) | |
download | gentoo-2-e98b40fef4b80af8b2cf2b9d5328d1b634f29c77.tar.gz gentoo-2-e98b40fef4b80af8b2cf2b9d5328d1b634f29c77.tar.bz2 gentoo-2-e98b40fef4b80af8b2cf2b9d5328d1b634f29c77.zip |
use $EPREFIX when looking for config.sub files #470146
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/gnuconfig.eclass | 10 |
1 files changed, 5 insertions, 5 deletions
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 | \ |