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 | 3df1d180a65c163d02f3f3d775cd9cb6ef5dbf0a (patch) | |
tree | 0fb597084ff703e5d0debc90cdd1ce99a700c66b /eclass/gnuconfig.eclass | |
parent | Update to EAPI=4 and unify behavior across versions. (diff) | |
download | historical-3df1d180a65c163d02f3f3d775cd9cb6ef5dbf0a.tar.gz historical-3df1d180a65c163d02f3f3d775cd9cb6ef5dbf0a.tar.bz2 historical-3df1d180a65c163d02f3f3d775cd9cb6ef5dbf0a.zip |
use $EPREFIX when looking for config.sub files #470146
Diffstat (limited to 'eclass/gnuconfig.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 | \ |