Use os.rmdir_recursive instead of scripting.run('rm -rf')

pull/3382/head
radare 2020-01-09 02:01:02 +01:00 committed by Alexander Medvednikov
parent 8a7f2a2696
commit 760448afa4
1 changed files with 2 additions and 2 deletions

View File

@ -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()