diff options
author | Alicia Boya GarcĂa <aboya@igalia.com> | 2018-11-23 19:13:49 +0100 |
---|---|---|
committer | Thibault Saunier <tsaunier@gnome.org> | 2018-11-23 18:22:43 +0000 |
commit | 0b6c960ca70764deffff84b5835502294ddf3f7c (patch) | |
tree | 013afb26b67bf17243486ca2149ad4ab5f671cf5 /gst-uninstalled.py | |
parent | 96a1384af94f9412bba110b4523c3e9cce31e204 (diff) |
gst-uninstalled: Don't change current working directory
Currently gst-uninstalled.py changes the current directory to the root
of the gst-build before executing execute the command passed as
arguments. This is unnecessary, it creates confusion and makes scripting
more cumbersome. This patch fixes that.
Diffstat (limited to 'gst-uninstalled.py')
-rwxr-xr-x | gst-uninstalled.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst-uninstalled.py b/gst-uninstalled.py index 0596535..0c230a0 100755 --- a/gst-uninstalled.py +++ b/gst-uninstalled.py @@ -221,7 +221,7 @@ if __name__ == "__main__": args.append("--rcfile") args.append(tmprc.name) try: - exit(subprocess.call(args, cwd=options.srcdir, close_fds=False, + exit(subprocess.call(args, close_fds=False, env=get_subprocess_env(options, gst_version))) except subprocess.CalledProcessError as e: exit(e.returncode) |