/[gentoo-x86]/eclass/php-ext-source-r2.eclass
Gentoo

Diff of /eclass/php-ext-source-r2.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.10 Revision 1.11
1# Copyright 1999-2007 Gentoo Foundation 1# Copyright 1999-2007 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/php-ext-source-r2.eclass,v 1.10 2011/06/29 07:04:43 olemarkus Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/php-ext-source-r2.eclass,v 1.11 2011/07/22 09:19:15 olemarkus Exp $
4# 4#
5# Author: Tal Peer <coredumb@gentoo.org> 5# Author: Tal Peer <coredumb@gentoo.org>
6# Author: Stuart Herbert <stuart@gentoo.org> 6# Author: Stuart Herbert <stuart@gentoo.org>
7# Author: Luca Longinotti <chtekk@gentoo.org> 7# Author: Luca Longinotti <chtekk@gentoo.org>
8# Author: Jakub Moc <jakub@gentoo.org> (documentation) 8# Author: Jakub Moc <jakub@gentoo.org> (documentation)
223 # Work out the list of <ext>.ini files to edit/add to 223 # Work out the list of <ext>.ini files to edit/add to
224 if [[ -z "${PHPSAPILIST}" ]] ; then 224 if [[ -z "${PHPSAPILIST}" ]] ; then
225 PHPSAPILIST="apache2 cli cgi fpm" 225 PHPSAPILIST="apache2 cli cgi fpm"
226 fi 226 fi
227 227
228 PHPINIFILELIST=""
229 local x 228 local x
230 for x in ${PHPSAPILIST} ; do 229 for x in ${PHPSAPILIST} ; do
231 if [[ -f "/etc/php/${x}-${1}/php.ini" ]] ; then 230 if [[ -f "/etc/php/${x}-${1}/php.ini" ]] ; then
232 PHPINIFILELIST="${PHPINIFILELIST} etc/php/${x}-${1}/ext/${PHP_EXT_NAME}.ini" 231 PHPINIFILELIST="${PHPINIFILELIST} etc/php/${x}-${1}/ext/${PHP_EXT_NAME}.ini"
233 fi 232 fi

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.20