summaryrefslogtreecommitdiff
path: root/BaseTools
diff options
context:
space:
mode:
authorNikolai SAOUKH <nms@otdel-1.org>2017-04-26 16:53:58 +0800
committerGuo Mang <mang.guo@intel.com>2017-07-12 11:24:29 +0800
commit8bd8d78365537885ee7353b3e9b83f7ecaef0af7 (patch)
tree9d1fc39f718464a86f83fe1d0fd02db43411ee8a /BaseTools
parent5b346b2340cb192be4e6ddf056c4960e635145ac (diff)
downloadedk2-platforms-8bd8d78365537885ee7353b3e9b83f7ecaef0af7.tar.xz
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>
Diffstat (limited to 'BaseTools')
-rw-r--r--BaseTools/Source/Python/build/build.py5
1 files changed, 2 insertions, 3 deletions
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"