commit: ee46243308594a232f10f32b9243e91e608415b5
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 8 16:24:44 2016 +0000
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Fri Jan 8 16:24:44 2016 +0000
URL: https://gitweb.gentoo.org/proj/eselect-php.git/commit/?id=ee462433
Fix call to resolv_target() in set_phpdbg().
The first parameter to resolv_target should be the name of a SAPI. The
current call passes "phpdbg" which is incorrect. Change it to "dbg".
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 d730e00..d868082 100644
--- a/src/php.eselect.in
+++ b/src/php.eselect.in
@@ -331,7 +331,7 @@ set_cgi() {
}
set_phpdbg() {
- t=$(resolv_target phpdbg $1)
+ t=$(resolv_target dbg $1)
[[ -z $t ]] && die -q "invalid target"
@LN_S@ --force "../..$(get_active_libdir)/${t}/bin/phpdbg" \
"$(sapi_active_link_path dbg)" || \