Sync BaseTools Branch (version r2149) to EDKII main trunk.
BaseTool Branch: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/branches/Releases/BaseTools_r2100 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11640 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@ -180,8 +180,10 @@ class ToolDefClassObject(object):
|
||||
EnvReference = gEnvRefPattern.findall(Value)
|
||||
for Ref in EnvReference:
|
||||
if Ref not in self.MacroDictionary:
|
||||
return False, Ref
|
||||
Value = Value.replace(Ref, self.MacroDictionary[Ref])
|
||||
Value = Value.replace(Ref, "")
|
||||
else:
|
||||
Value = Value.replace(Ref, self.MacroDictionary[Ref])
|
||||
|
||||
|
||||
MacroReference = gMacroRefPattern.findall(Value)
|
||||
for Ref in MacroReference:
|
||||
|
Reference in New Issue
Block a user