From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 4CFDC1384B4 for ; Sun, 20 Dec 2015 00:17:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D99E621C067; Sun, 20 Dec 2015 00:17:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 13BF521C09F for ; Sun, 20 Dec 2015 00:17:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 32B3C3407D0 for ; Sun, 20 Dec 2015 00:17:42 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D013DCF1 for ; Sun, 20 Dec 2015 00:17:38 +0000 (UTC) From: "Michael Orlitzky" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Orlitzky" Message-ID: <1450570562.1926650b7c0f73fb44d8ca1c32f92883ed851e52.mjo@gentoo> Subject: [gentoo-commits] proj/eselect-php:master commit in: src/ X-VCS-Repository: proj/eselect-php X-VCS-Files: src/php.eselect.in X-VCS-Directories: src/ X-VCS-Committer: mjo X-VCS-Committer-Name: Michael Orlitzky X-VCS-Revision: 1926650b7c0f73fb44d8ca1c32f92883ed851e52 X-VCS-Branch: master Date: Sun, 20 Dec 2015 00:17:38 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 07dd02e9-21bc-4f9e-91fd-ed963a0745bc X-Archives-Hash: 3b918f054f07a69093e34c16c2927a4c commit: 1926650b7c0f73fb44d8ca1c32f92883ed851e52 Author: Michael Orlitzky gentoo org> AuthorDate: Sun Dec 20 00:16:02 2015 +0000 Commit: Michael Orlitzky gentoo org> CommitDate: Sun Dec 20 00:16:02 2015 +0000 URL: https://gitweb.gentoo.org/proj/eselect-php.git/commit/?id=1926650b Fix bug in resolv_target() introduced while refactoring. The resolv_target() function was making a call to find_targets_$1. This was incorrectly refacored to "find_targets $1" instead of "find_sapi_targets $1" and has been fixed. src/php.eselect.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/php.eselect.in b/src/php.eselect.in index 9a1d628..d730e00 100644 --- a/src/php.eselect.in +++ b/src/php.eselect.in @@ -232,7 +232,7 @@ write_mod_php_conf() { } resolv_target() { - local targets=( $(find_targets $1) ) + local targets=( $(find_sapi_targets $1) ) if is_number $2; then if [[ $2 -le ${#targets[@]} && $2 -gt 0 ]] ; then echo "${targets[ $(( $2 - 1 )) ]}"