mirror of
https://github.com/ARM-software/devlib.git
synced 2025-01-31 02:00:45 +00:00
target: Fix quoting of PATH components
Make sure the components of PATH are properly quoted.
This commit is contained in:
parent
aa62a52ee3
commit
74edfcbe43
@ -396,7 +396,7 @@ class Target(object):
|
||||
|
||||
# Ensure to use deployed command when availables
|
||||
if self.executables_directory:
|
||||
command = "export PATH={}:$PATH && {}".format(self.executables_directory, command)
|
||||
command = "export PATH={}:$PATH && {}".format(quote(self.executables_directory), command)
|
||||
|
||||
return self.conn.execute(command, timeout=timeout,
|
||||
check_exit_code=check_exit_code, as_root=as_root,
|
||||
|
Loading…
x
Reference in New Issue
Block a user