commit:     674a928d1471076e20161cfa80774d5d8e6299e0
Author:     Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 29 20:11:16 2016 +0000
Commit:     Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
CommitDate: Sat Oct 29 23:32:12 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=674a928d
eclass/php-ext-source-r3: define the variable slot local to src_test

 eclass/php-ext-source-r3.eclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/eclass/php-ext-source-r3.eclass b/eclass/php-ext-source-r3.eclass
index f2999d4..54eda31 100644
--- a/eclass/php-ext-source-r3.eclass
+++ b/eclass/php-ext-source-r3.eclass
@@ -236,6 +236,7 @@ php-ext-source-r3_src_install() {
 # a run-tests.php file to be executed by `make test`. We only need to
 # force the test suite to run in non-interactive mode.
 php-ext-source-r3_src_test() {
+       local slot
        for slot in $(php_get_slots); do
                php_init_slot_env "${slot}"
                NO_INTERACTION="yes" emake test

Reply via email to