1
0
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:
Daniel Martí 2015-01-13 16:37:10 +01:00
parent ff2b061351
commit 3b3704710e

View File

@ -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)