From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 A2D6C21951C80 for ; Wed, 26 Apr 2017 02:13:58 -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 02:13:58 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.37,253,1488873600"; d="scan'208";a="1161118492" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga002.fm.intel.com with ESMTP; 26 Apr 2017 02:13:58 -0700 Received: from FMSMSX109.amr.corp.intel.com (10.18.116.9) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 26 Apr 2017 02:13:58 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx109.amr.corp.intel.com (10.18.116.9) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 26 Apr 2017 02:13:57 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.246]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.224]) with mapi id 14.03.0319.002; Wed, 26 Apr 2017 17:13:54 +0800 From: "Gao, Liming" To: "Zhu, Yonghong" , "edk2-devel@lists.01.org" CC: Nikolai SAOUKH Thread-Topic: [Patch] BaseTools: fix the typo in function name LanuchPostbuild Thread-Index: AQHSvmsakrXMK8IG5UayCRUtTopUaaHXXgGQ Date: Wed, 26 Apr 2017 09:13:54 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14D725527@shsmsx102.ccr.corp.intel.com> References: <1493197030-18012-1-git-send-email-yonghong.zhu@intel.com> In-Reply-To: <1493197030-18012-1-git-send-email-yonghong.zhu@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [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: , X-List-Received-Date: Wed, 26 Apr 2017 09:13:58 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Liming Gao >-----Original Message----- >From: Zhu, Yonghong >Sent: Wednesday, April 26, 2017 4:57 PM >To: edk2-devel@lists.01.org >Cc: Nikolai SAOUKH ; Gao, Liming >Subject: [Patch] BaseTools: fix the typo in function name LanuchPostbuild > >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 >--- > 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/Python/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, Postbuil= dList[0]) > if os.path.isfile(PostbuildList[0]): > self.PostbuildScript =3D PostbuildList[0] > self.Postbuild =3D ' '.join(PostbuildList) > self.Postbuild +=3D self.PassCommandOption(self.BuildTarg= etList, >self.ArchList, self.ToolChainList) >- #self.LanuchPostbuild() > else: > EdkLogger.error("Postbuild", POSTBUILD_ERROR, "the postbu= ild >script %s is not exist.\n If you'd like to disable the Postbuild process, = please >use the format: -D POSTBUILD=3D\"\" " %(PostbuildList[0])) > > 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, env= s) > envs =3D itertools.imap(lambda l: [i.strip() for i in l],= envs) > 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 =3D=3D "win32": > Process =3D Popen(self.Postbuild, stdout=3DPIPE, stderr= =3DPIPE) > else: >@@ -2329,11 +2328,11 @@ def Main(): > Utils.Progressor.Abort() > Utils.ClearDuplicatedInf() > > 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" >-- >2.6.1.windows.1