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 7E5EB1388C4 for ; Sat, 9 Jan 2016 02:24:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 82392E0810; Sat, 9 Jan 2016 02:24:09 +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 9C36AE0817 for ; Sat, 9 Jan 2016 02:24:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C4900340A22 for ; Sat, 9 Jan 2016 02:24:07 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 65868CF6 for ; Sat, 9 Jan 2016 02:24:05 +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: <1452304811.41f92b84f7871ae913bf8a462b88a3808f1df208.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: 41f92b84f7871ae913bf8a462b88a3808f1df208 X-VCS-Branch: master Date: Sat, 9 Jan 2016 02:24:05 +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: 6af9f8b6-60da-4016-aa1e-3edcf27da1f5 X-Archives-Hash: b0715c5c09b47fc53f7e5d811fbd4ab0 commit: 41f92b84f7871ae913bf8a462b88a3808f1df208 Author: Michael Orlitzky gentoo org> AuthorDate: Sat Jan 9 02:00:11 2016 +0000 Commit: Michael Orlitzky gentoo org> CommitDate: Sat Jan 9 02:00:11 2016 +0000 URL: https://gitweb.gentoo.org/proj/eselect-php.git/commit/?id=41f92b84 Fix the "show" action for SAPIs other than phpdbg. src/php.eselect.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/php.eselect.in b/src/php.eselect.in index b47d218..d9c44f7 100644 --- a/src/php.eselect.in +++ b/src/php.eselect.in @@ -564,8 +564,9 @@ describe_show_options() { } do_show() { - check_module $1 - get_active_$1 + local sapi="${1}" + check_module "${sapi}" + get_sapi_active_target "${sapi}" } ## update action