summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/php.eselect.in.in')
-rw-r--r--src/php.eselect.in.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/php.eselect.in.in b/src/php.eselect.in.in
index d3428bd..ff3914f 100644
--- a/src/php.eselect.in.in
+++ b/src/php.eselect.in.in
@@ -224,6 +224,9 @@ update_sapi() {
# A space-separated list of target names, for example, "php5.6 php7.0".
#
find_targets() {
+ # TODO: when there aren't any phpX.Y directories, this returns
+ # "php*.*". This doesn't seem to bother our consumers, but it
+ # would probably be more polite to return nothing in that case.
cd "@LIBDIR@" && echo php*.*
}