mirror of
https://github.com/ARM-software/devlib.git
synced 2025-01-31 10:10:46 +00:00
Target: Ensures path is quoted and escaped
This commit is contained in:
parent
0390c9d26b
commit
899dbfe4fb
@ -487,7 +487,7 @@ class Target(object):
|
||||
raise IOError('No usable temporary filename found')
|
||||
|
||||
def remove(self, path, as_root=False):
|
||||
self.execute('rm -rf {}'.format(path), as_root=as_root)
|
||||
self.execute('rm -rf "{}"'.format(escape_double_quotes(path)), as_root=as_root)
|
||||
|
||||
# misc
|
||||
def core_cpus(self, core):
|
||||
|
Loading…
x
Reference in New Issue
Block a user