mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-05 04:17:53 +00:00
Don't resolve symlink in resolve_executable_path(). (#6540)
This commit is contained in:
parent
aa31ba5774
commit
2ef792ae6e
1 changed files with 1 additions and 1 deletions
|
|
@ -481,7 +481,7 @@ def resolve_executable_path(command_or_path):
|
|||
if executable_path is None:
|
||||
raise BuildError("Failed to resolve executable path for "
|
||||
"'{}'.".format(command_or_path))
|
||||
return os.path.realpath(executable_path)
|
||||
return os.path.abspath(executable_path)
|
||||
|
||||
|
||||
def get_linux_distro():
|
||||
|
|
|
|||
Loading…
Reference in a new issue