From: Nikolai SAOUKH Date: Wed, 26 Apr 2017 08:53:58 +0000 (+0800) Subject: BaseTools: fix the typo in function name LanuchPostbuild X-Git-Tag: edk2-stable201903~4103 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=91048b0df658e47cef0ccdedc4b790e8a0f1035d BaseTools: fix the typo in function name LanuchPostbuild The patch fix function name typo LanuchPostbuild ==> LaunchPostbuild. Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Nikolai SAOUKH Reviewed-by: Yonghong Zhu Reviewed-by: Liming Gao --- diff --git a/BaseTools/Source/Python/build/build.py b/BaseTools/Source/Python/build/build.py index 35e70370a5..45ccac1e13 100644 --- a/BaseTools/Source/Python/build/build.py +++ b/BaseTools/Source/Python/build/build.py @@ -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"