1 |
commit: 1926650b7c0f73fb44d8ca1c32f92883ed851e52 |
2 |
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Dec 20 00:16:02 2015 +0000 |
4 |
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Dec 20 00:16:02 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/eselect-php.git/commit/?id=1926650b |
7 |
|
8 |
Fix bug in resolv_target() introduced while refactoring. |
9 |
|
10 |
The resolv_target() function was making a call to find_targets_$1. |
11 |
This was incorrectly refacored to "find_targets $1" instead of |
12 |
"find_sapi_targets $1" and has been fixed. |
13 |
|
14 |
src/php.eselect.in | 2 +- |
15 |
1 file changed, 1 insertion(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/src/php.eselect.in b/src/php.eselect.in |
18 |
index 9a1d628..d730e00 100644 |
19 |
--- a/src/php.eselect.in |
20 |
+++ b/src/php.eselect.in |
21 |
@@ -232,7 +232,7 @@ write_mod_php_conf() { |
22 |
} |
23 |
|
24 |
resolv_target() { |
25 |
- local targets=( $(find_targets $1) ) |
26 |
+ local targets=( $(find_sapi_targets $1) ) |
27 |
if is_number $2; then |
28 |
if [[ $2 -le ${#targets[@]} && $2 -gt 0 ]] ; then |
29 |
echo "${targets[ $(( $2 - 1 )) ]}" |