BaseTools: enhance the CacheCopyFile method arg names
Enhance the CacheCopyFile method arg names to be more clear and readable Signed-off-by: Steven Shi <steven.shi@intel.com> Cc: Liming Gao <liming.gao@intel.com> Cc: Bob Feng <bob.c.feng@intel.com> Reviewed-by: Bob Feng <bob.c.feng@intel.com>
This commit is contained in:
@ -1650,9 +1650,9 @@ class ModuleAutoGen(AutoGen):
|
|||||||
|
|
||||||
self.IsAsBuiltInfCreated = True
|
self.IsAsBuiltInfCreated = True
|
||||||
|
|
||||||
def CacheCopyFile(self, OriginDir, CopyDir, File):
|
def CacheCopyFile(self, DestDir, SourceDir, File):
|
||||||
sub_dir = os.path.relpath(File, CopyDir)
|
sub_dir = os.path.relpath(File, SourceDir)
|
||||||
destination_file = os.path.join(OriginDir, sub_dir)
|
destination_file = os.path.join(DestDir, sub_dir)
|
||||||
destination_dir = os.path.dirname(destination_file)
|
destination_dir = os.path.dirname(destination_file)
|
||||||
CreateDirectory(destination_dir)
|
CreateDirectory(destination_dir)
|
||||||
try:
|
try:
|
||||||
|
Reference in New Issue
Block a user