mirror of https://github.com/ArduPilot/ardupilot
Tools: correct path separator in PYTHONPATH
This commit is contained in:
parent
1486421581
commit
c517124c72
|
@ -728,7 +728,7 @@ def start_mavproxy(opts, stuff):
|
||||||
old = env.get('PYTHONPATH', None)
|
old = env.get('PYTHONPATH', None)
|
||||||
env['PYTHONPATH'] = local_mp_modules_dir
|
env['PYTHONPATH'] = local_mp_modules_dir
|
||||||
if old is not None:
|
if old is not None:
|
||||||
env['PYTHONPATH'] += os.path.sep + old
|
env['PYTHONPATH'] += os.path.pathsep + old
|
||||||
|
|
||||||
run_cmd_blocking("Run MavProxy", cmd, env=env)
|
run_cmd_blocking("Run MavProxy", cmd, env=env)
|
||||||
progress("MAVProxy exited")
|
progress("MAVProxy exited")
|
||||||
|
|
Loading…
Reference in New Issue