diff options
author | Michael Orlitzky <mjo@gentoo.org> | 2015-12-19 19:16:02 -0500 |
---|---|---|
committer | Michael Orlitzky <mjo@gentoo.org> | 2015-12-19 19:16:02 -0500 |
commit | 1926650b7c0f73fb44d8ca1c32f92883ed851e52 (patch) | |
tree | 4c5b33a06a4d3852d92a816ffe354b5448752452 | |
parent | Consolidate all list_foo actions into one new list_sapi() function. (diff) | |
download | eselect-php-1926650b7c0f73fb44d8ca1c32f92883ed851e52.tar.gz eselect-php-1926650b7c0f73fb44d8ca1c32f92883ed851e52.tar.bz2 eselect-php-1926650b7c0f73fb44d8ca1c32f92883ed851e52.zip |
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.
-rw-r--r-- | src/php.eselect.in | 2 |
1 files changed, 1 insertions, 1 deletions
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 )) ]}" |