From 34ff75367a2941a99339a9ea46bf6faaad270f0f Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Thu, 21 Jan 2016 22:11:51 -0500 Subject: Add a TODO to find_targets() about an error condition. --- src/php.eselect.in.in | 3 +++ 1 file changed, 3 insertions(+) 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*.* } -- cgit v1.2.3