summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Orlitzky <mjo@gentoo.org>2016-01-08 11:24:44 -0500
committerMichael Orlitzky <mjo@gentoo.org>2016-01-08 11:24:44 -0500
commitee46243308594a232f10f32b9243e91e608415b5 (patch)
treed9cfe46aaf392f2843136af460366b533a1ee2fb
parentFix bug in resolv_target() introduced while refactoring. (diff)
downloadeselect-php-ee46243308594a232f10f32b9243e91e608415b5.tar.gz
eselect-php-ee46243308594a232f10f32b9243e91e608415b5.tar.bz2
eselect-php-ee46243308594a232f10f32b9243e91e608415b5.zip
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".
-rw-r--r--src/php.eselect.in2
1 files changed, 1 insertions, 1 deletions
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)" || \