commit: 41f92b84f7871ae913bf8a462b88a3808f1df208
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 9 02:00:11 2016 +0000
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> 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