From 760448afa4ec5beb6ed4cc551402904b3099b1e6 Mon Sep 17 00:00:00 2001 From: radare Date: Thu, 9 Jan 2020 02:01:02 +0100 Subject: [PATCH] Use os.rmdir_recursive instead of scripting.run('rm -rf') --- tools/oldv.v | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/oldv.v b/tools/oldv.v index 78a87634c5..dedd8a4ec1 100644 --- a/tools/oldv.v +++ b/tools/oldv.v @@ -99,8 +99,8 @@ fn main() { context.cc = ecc } if context.cleanup { - scripting.run('rm -rf $context.path_v') - scripting.run('rm -rf $context.path_vc') + os.rmdir_recursive(context.path_v) + os.rmdir_recursive(context.path_vc) } context.compile_oldv_if_needed()