From 3bfbc915074a45f4d9c61aa2b698a62f1a24124e Mon Sep 17 00:00:00 2001 From: Steven Shi Date: Mon, 21 Oct 2019 14:51:49 +0800 Subject: [PATCH] BaseTools: enhance the CacheCopyFile method arg names Enhance the CacheCopyFile method arg names to be more clear and readable Signed-off-by: Steven Shi Cc: Liming Gao Cc: Bob Feng Reviewed-by: Bob Feng --- BaseTools/Source/Python/AutoGen/ModuleAutoGen.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/BaseTools/Source/Python/AutoGen/ModuleAutoGen.py b/BaseTools/Source/Python/AutoGen/ModuleAutoGen.py index fce00c3ee7..eb52f40a9d 100755 --- a/BaseTools/Source/Python/AutoGen/ModuleAutoGen.py +++ b/BaseTools/Source/Python/AutoGen/ModuleAutoGen.py @@ -1650,9 +1650,9 @@ class ModuleAutoGen(AutoGen): self.IsAsBuiltInfCreated = True - def CacheCopyFile(self, OriginDir, CopyDir, File): - sub_dir = os.path.relpath(File, CopyDir) - destination_file = os.path.join(OriginDir, sub_dir) + def CacheCopyFile(self, DestDir, SourceDir, File): + sub_dir = os.path.relpath(File, SourceDir) + destination_file = os.path.join(DestDir, sub_dir) destination_dir = os.path.dirname(destination_file) CreateDirectory(destination_dir) try: -- 2.39.2