| 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/eutils.eclass,v 1.236 2006/06/04 13:25:04 vapier Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.237 2006/06/04 15:18:12 vapier Exp $ |
| 4 | # |
4 | # |
| 5 | # This eclass is for general purpose functions that most ebuilds |
5 | # This eclass is for general purpose functions that most ebuilds |
| 6 | # have to implement themselves. |
6 | # have to implement themselves. |
| 7 | # |
7 | # |
| 8 | # NB: If you add anything, please comment it! |
8 | # NB: If you add anything, please comment it! |
| … | |
… | |
| 1468 | newls="${newls} ${f}" |
1468 | newls="${newls} ${f}" |
| 1469 | else |
1469 | else |
| 1470 | ewarn "Sorry, but ${PN} does not support the ${f} LINGUA" |
1470 | ewarn "Sorry, but ${PN} does not support the ${f} LINGUA" |
| 1471 | fi |
1471 | fi |
| 1472 | done |
1472 | done |
| 1473 | if [[ -z ${newls} ]] ; then |
|
|
| 1474 | export LINGUAS="" |
|
|
| 1475 | else |
|
|
| 1476 | export LINGUAS=${newls:1} |
1473 | export LINGUAS=${newls:1} |
| 1477 | fi |
|
|
| 1478 | } |
1474 | } |
| 1479 | |
1475 | |
| 1480 | # moved from kernel.eclass since they are generally useful outside of |
1476 | # moved from kernel.eclass since they are generally useful outside of |
| 1481 | # kernel.eclass -iggy (20041002) |
1477 | # kernel.eclass -iggy (20041002) |
| 1482 | |
1478 | |