]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/Ecc/EccMain.py
BaseTools: Change RealPath to AbsPath
[mirror_edk2.git] / BaseTools / Source / Python / Ecc / EccMain.py
index 72edbea3b8831aae38f99ea2e5fbd81db93023a5..a349cd80147f9019c8a5902c74512f9beef99459 100644 (file)
@@ -105,7 +105,7 @@ class Ecc(object):
 \r
     def InitDefaultConfigIni(self):\r
         paths = map(lambda p: os.path.join(p, 'Ecc', 'config.ini'), sys.path)\r
-        paths = (os.path.realpath('config.ini'),) + tuple(paths)\r
+        paths = (os.path.abspath('config.ini'),) + tuple(paths)\r
         for path in paths:\r
             if os.path.exists(path):\r
                 self.ConfigFile = path\r