commit:     a8ecf9d66d77064ccb6aabd4f5f90a3c730a67d6
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 26 22:44:15 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun Jan 26 22:47:07 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8ecf9d6

flag-o-matic.eclass: fix probe file extension

A cosmetic fix as we rely on -x ${lang} to detect correct language.

Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 eclass/flag-o-matic.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass
index ebfc49bf30b..b1b5c866a00 100644
--- a/eclass/flag-o-matic.eclass
+++ b/eclass/flag-o-matic.eclass
@@ -474,7 +474,7 @@ test-flag-PROG() {
                        cmdline_extra+=(-xc)
                        ;;
        esac
-       local test_in=${T}/test-flag.${lang}
+       local test_in=${T}/test-flag.${in_ext}
        local test_out=${T}/test-flag.exe
 
        printf "%s\n" "${in_src}" > "${test_in}" || return 1

Reply via email to