commit: 3c3203e91ed3fdbd5eeb5be11f290d5c379eb409
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 14 20:55:53 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 14 20:59:56 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c3203e9
dev-util/btyacc: tweak src_test style
localise var; use usual 'for' style
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-util/btyacc/btyacc-3.0-r5.ebuild | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/dev-util/btyacc/btyacc-3.0-r5.ebuild
b/dev-util/btyacc/btyacc-3.0-r5.ebuild
index c211b39e8295..783c05299c52 100644
--- a/dev-util/btyacc/btyacc-3.0-r5.ebuild
+++ b/dev-util/btyacc/btyacc-3.0-r5.ebuild
@@ -26,8 +26,9 @@ src_compile() {
}
src_test() {
- for file in "${S}"/test/*.y;
- do "${S}"/btyacc "${file}" || die
+ local file
+ for file in "${S}"/test/*.y; do
+ "${S}"/btyacc "${file}" || die
rm y_tab.c || die
done
}