Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

hotfix: OIIO tool path - add extension on windows #2618

Merged
merged 1 commit into from
Feb 1, 2022

Conversation

antirotor
Copy link
Member

Bug

get_oiio_tools_path() didn't take into account extension on windows. So trying to get path for maketx - returned path like C:\foo\bar\oiio\bin\maketx that is invalid on Windows because it should be C:\foo\bar\oiio\bin\maketx.exe. This PR is providing simple fix to add .exe on windows if it is missing. Note that it will not work for other executable files on windows, like shell scripts, and so on, but because this is strictly OIIO tool specific I don't see problem with it.

Without this fix, extracting looks from maya on windows will fail.

@antirotor antirotor added the type: bug Something isn't working label Feb 1, 2022
@antirotor antirotor self-assigned this Feb 1, 2022
@antirotor antirotor merged commit 988fd03 into release/3.8.0 Feb 1, 2022
@antirotor antirotor mentioned this pull request Feb 1, 2022
@mkolar mkolar deleted the hotfix/oiiotool-path-on-windows branch March 15, 2022 16:22
@mkolar mkolar added this to the next milestone Mar 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants