mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-08 18:39:54 +00:00
validate:launcher: Add support for relative path while providing file path
Instead of providing full absolute path while validating the file, should be able to provide the relative path with respect to the present directory. https://bugzilla.gnome.org/show_bug.cgi?id=753494
This commit is contained in:
parent
15e7f1bbfd
commit
99f9f3f408
1 changed files with 1 additions and 0 deletions
|
@ -683,6 +683,7 @@ not been tested and explicitely activated if you set use --wanted-tests ALL""")
|
|||
|
||||
for path in self.options.paths:
|
||||
if os.path.isfile(path):
|
||||
path = os.path.abspath(path)
|
||||
self._discover_file(path2url(path), path)
|
||||
else:
|
||||
for root, dirs, files in os.walk(path):
|
||||
|
|
Loading…
Reference in a new issue