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:
committed by
Yonghong Zhu
parent
7ced8bb49b
commit
91048b0df6
@ -989,7 +989,6 @@ class Build():
|
|||||||
self.PostbuildScript = PostbuildList[0]
|
self.PostbuildScript = PostbuildList[0]
|
||||||
self.Postbuild = ' '.join(PostbuildList)
|
self.Postbuild = ' '.join(PostbuildList)
|
||||||
self.Postbuild += self.PassCommandOption(self.BuildTargetList, self.ArchList, self.ToolChainList)
|
self.Postbuild += self.PassCommandOption(self.BuildTargetList, self.ArchList, self.ToolChainList)
|
||||||
#self.LanuchPostbuild()
|
|
||||||
else:
|
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]))
|
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))
|
os.environ.update(dict(envs))
|
||||||
EdkLogger.info("\n- Prebuild Done -\n")
|
EdkLogger.info("\n- Prebuild Done -\n")
|
||||||
|
|
||||||
def LanuchPostbuild(self):
|
def LaunchPostbuild(self):
|
||||||
if self.Postbuild:
|
if self.Postbuild:
|
||||||
EdkLogger.info("\n- Postbuild Start -\n")
|
EdkLogger.info("\n- Postbuild Start -\n")
|
||||||
if sys.platform == "win32":
|
if sys.platform == "win32":
|
||||||
@ -2331,7 +2330,7 @@ def Main():
|
|||||||
|
|
||||||
if ReturnCode == 0:
|
if ReturnCode == 0:
|
||||||
try:
|
try:
|
||||||
MyBuild.LanuchPostbuild()
|
MyBuild.LaunchPostbuild()
|
||||||
Conclusion = "Done"
|
Conclusion = "Done"
|
||||||
except:
|
except:
|
||||||
Conclusion = "Failed"
|
Conclusion = "Failed"
|
||||||
|
Reference in New Issue
Block a user