| 1 | # Copyright 1999-2006 Gentoo Foundation |
1 | # Copyright 1999-2006 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/eclass/gnuconfig.eclass,v 1.32 2006/06/15 18:33:45 vapier Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/gnuconfig.eclass,v 1.33 2006/06/21 19:35:28 vapier Exp $ |
| 4 | # |
4 | # |
| 5 | # THIS ECLASS IS DEAD: It has been integrated into portage |
5 | # THIS ECLASS IS DEAD: It has been integrated into portage |
| 6 | # |
6 | # |
| 7 | # Author: Will Woods <wwoods@gentoo.org> |
7 | # Author: Will Woods <wwoods@gentoo.org> |
| 8 | # |
8 | # |
| … | |
… | |
| 27 | |
27 | |
| 28 | # Wrapper function for gnuconfig_do_update. If no arguments are given, update |
28 | # Wrapper function for gnuconfig_do_update. If no arguments are given, update |
| 29 | # config.sub and config.guess (old default behavior), otherwise update the |
29 | # config.sub and config.guess (old default behavior), otherwise update the |
| 30 | # named files. |
30 | # named files. |
| 31 | gnuconfig_update() { |
31 | gnuconfig_update() { |
|
|
32 | |
|
|
33 | # hmm some packages (like binutils gcc glibc) still use this ... |
| 32 | echo |
34 | # echo |
| 33 | ewarn "QA Notice: Please stop using me, portage updates files for you." |
35 | # ewarn "QA Notice: Please stop using me, portage updates files for you." |
| 34 | echo |
36 | # echo |
| 35 | |
37 | |
| 36 | local startdir # declared here ... used in gnuconfig_do_update |
38 | local startdir # declared here ... used in gnuconfig_do_update |
| 37 | |
39 | |
| 38 | if [[ $1 == /* ]] ; then |
40 | if [[ $1 == /* ]] ; then |
| 39 | startdir=$1 |
41 | startdir=$1 |