gst-env: Windows: Fix looking for cmd_or_ps.ps1 in the wrong directory
authorAndrey Moiseev <o2g.org.ru@gmail.com>
Mon, 5 Apr 2021 07:00:34 +0000 (07:00 +0000)
committerAndrey Moiseev <o2g.org.ru@gmail.com>
Tue, 6 Apr 2021 09:51:07 +0000 (02:51 -0700)
commitd5b6cc88f9308bfd73d9f9f7a2ef586ee1d1c79d
tree15e906b80201c7f50def351fc17d830cb88822d1
parentd3c4043db3833ec758093d40fe255518059baf5b
gst-env: Windows: Fix looking for cmd_or_ps.ps1 in the wrong directory

At the point of get_windows_shell() execution, the current directory
equals DEFAULT_BUILDDIR=./build. But cmd_or_ps.ps1 is in SCRIPTDIR=./
(repo root). Point subprocess.check_output() to the correct directory.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/238>
gst-env.py