diff options
Diffstat (limited to 'BaseTools/Source/Python/Common/Misc.py')
-rw-r--r-- | BaseTools/Source/Python/Common/Misc.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/BaseTools/Source/Python/Common/Misc.py b/BaseTools/Source/Python/Common/Misc.py index 0e0cb45ebe..d082c58bef 100644 --- a/BaseTools/Source/Python/Common/Misc.py +++ b/BaseTools/Source/Python/Common/Misc.py @@ -281,6 +281,7 @@ def ProcessDuplicatedInf(Path, BaseName, Workspace): #
RtPath.Path = TempFullPath
RtPath.BaseName = BaseName
+ RtPath.OriginalPath = Path
#
# If file exists, compare contents
#
@@ -1405,6 +1406,7 @@ class PathClass(object): self.TagName = TagName
self.ToolCode = ToolCode
self.ToolChainFamily = ToolChainFamily
+ self.OriginalPath = self
## Convert the object of this class to a string
#
|