From 739a62bb40695addd1d118eadbab4ec47aa24db5 Mon Sep 17 00:00:00 2001 From: Jan Janssen Date: Wed, 14 Jun 2023 16:05:52 +0200 Subject: meson: Use fs module in more places --- test/fuzz/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/fuzz') diff --git a/test/fuzz/meson.build b/test/fuzz/meson.build index a8fb71c566..61a62a75a3 100644 --- a/test/fuzz/meson.build +++ b/test/fuzz/meson.build @@ -83,8 +83,8 @@ foreach p : out.stdout().split() if p.contains('\\') continue endif - fuzzer = p.split('/')[-2] - fuzz_in = p.split('/')[-1] + fuzzer = fs.name(fs.parent(p)) + fuzz_in = fs.name(p) if fuzzer not in fuzz_regression_tests fuzz_regression_tests += {fuzzer: []} endif -- cgit v1.2.3