mirror of https://github.com/acidanthera/audk.git
BaseTools: fix the typo in function name LanuchPostbuild
The patch fix function name typo LanuchPostbuild ==> LaunchPostbuild. Cc: Liming Gao <liming.gao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Nikolai SAOUKH <nms@otdel-1.org> Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
parent
7ced8bb49b
commit
91048b0df6
|
@ -989,7 +989,6 @@ class Build():
|
|||
self.PostbuildScript = PostbuildList[0]
|
||||
self.Postbuild = ' '.join(PostbuildList)
|
||||
self.Postbuild += self.PassCommandOption(self.BuildTargetList, self.ArchList, self.ToolChainList)
|
||||
#self.LanuchPostbuild()
|
||||
else:
|
||||
EdkLogger.error("Postbuild", POSTBUILD_ERROR, "the postbuild script %s is not exist.\n If you'd like to disable the Postbuild process, please use the format: -D POSTBUILD=\"\" " %(PostbuildList[0]))
|
||||
|
||||
|
@ -1076,7 +1075,7 @@ class Build():
|
|||
os.environ.update(dict(envs))
|
||||
EdkLogger.info("\n- Prebuild Done -\n")
|
||||
|
||||
def LanuchPostbuild(self):
|
||||
def LaunchPostbuild(self):
|
||||
if self.Postbuild:
|
||||
EdkLogger.info("\n- Postbuild Start -\n")
|
||||
if sys.platform == "win32":
|
||||
|
@ -2331,7 +2330,7 @@ def Main():
|
|||
|
||||
if ReturnCode == 0:
|
||||
try:
|
||||
MyBuild.LanuchPostbuild()
|
||||
MyBuild.LaunchPostbuild()
|
||||
Conclusion = "Done"
|
||||
except:
|
||||
Conclusion = "Failed"
|
||||
|
|
Loading…
Reference in New Issue