summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Orlitzky <mjo@gentoo.org>2016-01-21 22:11:51 -0500
committerMichael Orlitzky <mjo@gentoo.org>2016-01-21 22:11:51 -0500
commit34ff75367a2941a99339a9ea46bf6faaad270f0f (patch)
tree86ff77921b9b335e51c636334ad5d17f6aba1296
parentUse uppercase @BINDIR@, @LIBDIR@, etc. for autotools substitution. (diff)
downloadeselect-php-34ff75367a2941a99339a9ea46bf6faaad270f0f.tar.gz
eselect-php-34ff75367a2941a99339a9ea46bf6faaad270f0f.tar.bz2
eselect-php-34ff75367a2941a99339a9ea46bf6faaad270f0f.zip
Add a TODO to find_targets() about an error condition.
-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*.*
}