commit: dcea0f85eec14d826f5704e25f757d05fe420668
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu May 2 00:24:02 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu May 2 00:24:02 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcea0f85
toolchain.eclass: fix validate_failures.py cp for non-gcc
Thanks to matoro for reporting.
Fixes: 5e9a0a17e43d3f5d7d7c1e3a8a7e58f8d26861cf
Signed-off-by: Sam James <sam <AT> gentoo.org>
eclass/toolchain.eclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 12d31d20d914..25dedd4e5262 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -633,7 +633,7 @@ toolchain_src_prepare() {
fi
if use test ; then
- cp
"${DISTDIR}"/${PN}-validate-failures-${GCC_VALIDATE_FAILURES_VERSION}.py
"${T}"/validate_failures.py || die
+ cp
"${DISTDIR}"/gcc-validate-failures-${GCC_VALIDATE_FAILURES_VERSION}.py
"${T}"/validate_failures.py || die
chmod +x "${T}"/validate_failures.py || die
fi