mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-06-11 02:29:27 +00:00
validate:launcher: Ensure that the main directory exists
Fixes https://gitlab.freedesktop.org/gstreamer/gst-devtools/-/issues/53 part 1 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-devtools/-/merge_requests/209>
This commit is contained in:
parent
1f8fec66e0
commit
f0db9bc907
|
@ -240,6 +240,7 @@ class LauncherConfig(Loggable):
|
|||
|
||||
# Get absolute path for main_dir and base everything on that
|
||||
self.main_dir = os.path.abspath(self.main_dir)
|
||||
os.makedirs(self.main_dir, exist_ok=True)
|
||||
os.environ['GST_VALIDATE_LAUNCHER_MAIN_DIR'] = self.main_dir
|
||||
|
||||
# default for output_dir is MAINDIR
|
||||
|
|
Loading…
Reference in a new issue