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():