mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 16:26:39 +00:00
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.
This commit is contained in:
parent
96a1384af9
commit
0b6c960ca7
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue