diff options
author | Michael Orlitzky <mjo@gentoo.org> | 2016-01-08 11:24:44 -0500 |
---|---|---|
committer | Michael Orlitzky <mjo@gentoo.org> | 2016-01-08 11:24:44 -0500 |
commit | ee46243308594a232f10f32b9243e91e608415b5 (patch) | |
tree | d9cfe46aaf392f2843136af460366b533a1ee2fb /src | |
parent | Fix bug in resolv_target() introduced while refactoring. (diff) | |
download | eselect-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".
Diffstat (limited to 'src')
-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 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)" || \ |