mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
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:
parent
91f6c533f8
commit
3bfbc91507
1 changed files with 3 additions and 3 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue