]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/AutoGen/ModuleAutoGen.py
BaseTools: enhance the CacheCopyFile method arg names
[mirror_edk2.git] / BaseTools / Source / Python / AutoGen / ModuleAutoGen.py
index fce00c3ee75dfd179267f800d8fee06846807508..eb52f40a9d07b8e3688ffa3b14f923d204b0d573 100755 (executable)
@@ -1650,9 +1650,9 @@ class ModuleAutoGen(AutoGen):
 \r
         self.IsAsBuiltInfCreated = True\r
 \r
-    def CacheCopyFile(self, OriginDir, CopyDir, File):\r
-        sub_dir = os.path.relpath(File, CopyDir)\r
-        destination_file = os.path.join(OriginDir, sub_dir)\r
+    def CacheCopyFile(self, DestDir, SourceDir, File):\r
+        sub_dir = os.path.relpath(File, SourceDir)\r
+        destination_file = os.path.join(DestDir, sub_dir)\r
         destination_dir = os.path.dirname(destination_file)\r
         CreateDirectory(destination_dir)\r
         try:\r