mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
change how oiio tools executables are found
This commit is contained in:
parent
3ca4c04a15
commit
453cada172
1 changed files with 2 additions and 2 deletions
|
|
@ -299,8 +299,8 @@ def get_oiio_tools_path(tool="oiiotool"):
|
|||
oiio_dir = get_vendor_bin_path("oiio")
|
||||
if platform.system().lower() == "linux":
|
||||
oiio_dir = os.path.join(oiio_dir, "bin")
|
||||
default_path = os.path.join(oiio_dir, tool)
|
||||
if _oiio_executable_validation(default_path):
|
||||
default_path = find_executable(os.path.join(oiio_dir, tool))
|
||||
if default_path and _oiio_executable_validation(default_path):
|
||||
tool_executable_path = default_path
|
||||
|
||||
# Look to PATH for the tool
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue