Re: [edk2-devel] [Patch V2 1/1] BaseTools: Change RealPath to AbsPath

2021-10-08 Thread Bob Feng
Hi Christine, For the case that a directory is a symbol link, we should use os.path.realpath. if os.path.islink(Dirname): -Dirname = os.path.realpath(Dirname) +Dirname = os.path.abspath(Dirname) Thanks, Bob -Original

[edk2-devel] [Patch V2 1/1] BaseTools: Change RealPath to AbsPath

2021-09-29 Thread Yuwei Chen
Currently the realpath is used when parse modules, which shows the path with a drive letter in build log. In Windows 'subst' comand is used to associates a path with a drive letter, when use the mapped drive letter for build, with realpath function the build log will have different disk letter