Skip to content
Snippets Groups Projects
Commit 96ace65d authored by Simon McVittie's avatar Simon McVittie
Browse files

utils: Always look in helpers directory before PATH


Previously, we always looked for vulkaninfo and wflinfo in the PATH.
Now we look in the helpers directory, and only search the PATH if the
necessary executable isn't there.

This enables us to ship relative symlinks from the helpers directory
/usr/libexec/steam-runtime-tools-0 to an adjacent /usr/bin directory,
so that if the Steam Runtime is relocated to (for example)
.../steam-runtime, we will find vulkaninfo and wflinfo in
.../steam-runtime/usr/bin.

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent cb41a76a
No related branches found
No related tags found
1 merge request!77Look for vulkaninfo, wflinfo in SRT_HELPERS_PATH
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment