mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-07 19:45:07 +02: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
@ -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…
x
Reference in New Issue
Block a user