From 2ef792ae6eb9e7e0afc260d0bc1d73a26edc6914 Mon Sep 17 00:00:00 2001 From: Edward Chen <18449977+edgchen1@users.noreply.github.com> Date: Thu, 4 Feb 2021 12:32:03 -0800 Subject: [PATCH] Don't resolve symlink in resolve_executable_path(). (#6540) --- tools/ci_build/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ci_build/build.py b/tools/ci_build/build.py index 61da3c719c..11d8c47cc3 100644 --- a/tools/ci_build/build.py +++ b/tools/ci_build/build.py @@ -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():