From nobody Sat Nov 2 08:25:40 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Authentication-Results: mx.zoho.com; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org; Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1493197038108404.5908032600008; Wed, 26 Apr 2017 01:57:18 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id C5A8F21951C8C; Wed, 26 Apr 2017 01:57:15 -0700 (PDT) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 2ADA321951C86 for ; Wed, 26 Apr 2017 01:57:14 -0700 (PDT) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Apr 2017 01:57:13 -0700 Received: from shwdeopenpsi168.ccr.corp.intel.com ([10.239.158.121]) by fmsmga002.fm.intel.com with ESMTP; 26 Apr 2017 01:57:12 -0700 X-Original-To: edk2-devel@lists.01.org X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.37,253,1488873600"; d="scan'208";a="1161110994" From: Yonghong Zhu To: edk2-devel@lists.01.org Date: Wed, 26 Apr 2017 16:57:10 +0800 Message-Id: <1493197030-18012-1-git-send-email-yonghong.zhu@intel.com> X-Mailer: git-send-email 2.6.1.windows.1 Subject: [edk2] [Patch] BaseTools: fix the typo in function name LanuchPostbuild X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Nikolai SAOUKH , Liming Gao MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail: RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" From: Nikolai SAOUKH The patch fix function name typo LanuchPostbuild =3D=3D> LaunchPostbuild. Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Nikolai SAOUKH Reviewed-by: Liming Gao --- BaseTools/Source/Python/build/build.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/BaseTools/Source/Python/build/build.py b/BaseTools/Source/Pyth= on/build/build.py index 35e7037..45ccac1 100644 --- a/BaseTools/Source/Python/build/build.py +++ b/BaseTools/Source/Python/build/build.py @@ -987,11 +987,10 @@ class Build(): PostbuildList[0] =3D mws.join(self.WorkspaceDir, Postbuild= List[0]) if os.path.isfile(PostbuildList[0]): self.PostbuildScript =3D PostbuildList[0] self.Postbuild =3D ' '.join(PostbuildList) self.Postbuild +=3D self.PassCommandOption(self.BuildTarge= tList, self.ArchList, self.ToolChainList) - #self.LanuchPostbuild() else: EdkLogger.error("Postbuild", POSTBUILD_ERROR, "the postbui= ld script %s is not exist.\n If you'd like to disable the Postbuild process= , please use the format: -D POSTBUILD=3D\"\" " %(PostbuildList[0])) =20 def PassCommandOption(self, BuildTarget, TargetArch, ToolChain): BuildStr =3D '' @@ -1074,11 +1073,11 @@ class Build(): envs =3D itertools.ifilter(lambda l: len(l) =3D=3D 2, envs) envs =3D itertools.imap(lambda l: [i.strip() for i in l], = envs) os.environ.update(dict(envs)) EdkLogger.info("\n- Prebuild Done -\n") =20 - def LanuchPostbuild(self): + def LaunchPostbuild(self): if self.Postbuild: EdkLogger.info("\n- Postbuild Start -\n") if sys.platform =3D=3D "win32": Process =3D Popen(self.Postbuild, stdout=3DPIPE, stderr=3D= PIPE) else: @@ -2329,11 +2328,11 @@ def Main(): Utils.Progressor.Abort() Utils.ClearDuplicatedInf() =20 if ReturnCode =3D=3D 0: try: - MyBuild.LanuchPostbuild() + MyBuild.LaunchPostbuild() Conclusion =3D "Done" except: Conclusion =3D "Failed" elif ReturnCode =3D=3D ABORT_ERROR: Conclusion =3D "Aborted" --=20 2.6.1.windows.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel