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