commit:     9ad05523d41421d97ae54e47bf3fdd293a48e275
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 10 14:03:13 2015 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Thu Dec 10 14:03:13 2015 +0000
URL:        https://gitweb.gentoo.org/proj/eselect-php.git/commit/?id=9ad05523

Add curly braces around an interpolated string variable.

 src/php.eselect.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/php.eselect.in b/src/php.eselect.in
index e08afbe..2ea8c3d 100644
--- a/src/php.eselect.in
+++ b/src/php.eselect.in
@@ -102,7 +102,7 @@ find_targets_apache2() {
        local libs target libdir
        for target in $(find_targets); do
                for libdir in $(get_libdirs); do
-                       libs="${EROOT}${libdir}/$target/apache2/libphp[57].so"
+                       libs="${EROOT}${libdir}/${target}/apache2/libphp[57].so"
                        for lib in $libs; do
                                [[ -f "${lib}" ]] && echo $target
                        done

Reply via email to