mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-09-11 23:23:27 +02:00
Fix adding paths to the PATH env variable
This commit is contained in:
parent
ff2b061351
commit
3b3704710e
@ -1835,7 +1835,7 @@ def add_to_env_path(path):
|
||||
paths = env['PATH'].split(os.pathsep)
|
||||
if path in paths:
|
||||
return
|
||||
paths += path
|
||||
paths.append(path)
|
||||
env['PATH'] = os.pathsep.join(paths)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user