]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/build/build.py
BaseTools: Hash false success.. minor change in hash invalidation
[mirror_edk2.git] / BaseTools / Source / Python / build / build.py
index 71478b7268e364640ad43d3d8972c8540433ca7c..7271570d2956db80e50e6667b1aa2f6d0d6baf07 100644 (file)
@@ -1165,8 +1165,8 @@ class Build():
                     os.remove(ModuleHashFile)\r
 \r
             # Remove .hash file from cache\r
-            if GlobalData.gBinCacheSource:\r
-                FileDir = path.join(GlobalData.gBinCacheSource, moduleAutoGenObj.Arch, moduleAutoGenObj.SourceDir, moduleAutoGenObj.MetaFile.BaseName)\r
+            if GlobalData.gBinCacheDest:\r
+                FileDir = path.join(GlobalData.gBinCacheDest, moduleAutoGenObj.Arch, moduleAutoGenObj.SourceDir, moduleAutoGenObj.MetaFile.BaseName)\r
                 HashFile = path.join(FileDir, moduleAutoGenObj.Name + '.hash')\r
                 if os.path.exists(HashFile):\r
                     os.remove(HashFile)\r