Use os.rmdir_recursive instead of scripting.run('rm -rf')
parent
8a7f2a2696
commit
760448afa4
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue