From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.byosoft.com.cn (mail.byosoft.com.cn [58.240.74.242]) by mx.groups.io with SMTP id smtpd.web12.2051.1623893809002659336 for ; Wed, 16 Jun 2021 18:36:49 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=permanent DNS error (domain: byosoft.com.cn, ip: 58.240.74.242, mailfrom: gaoliming@byosoft.com.cn) Received: from DESKTOPS6D0PVI ([58.246.60.130]) (envelope-sender ) by 192.168.6.13 with ESMTP for ; Thu, 17 Jun 2021 09:36:34 +0800 X-WM-Sender: gaoliming@byosoft.com.cn X-Originating-IP: 58.246.60.130 X-WM-AuthFlag: YES X-WM-AuthUser: gaoliming@byosoft.com.cn From: "gaoliming" To: , , "'Bob Feng'" , "'Yuwei Chen'" References: <20210613034301.98641-1-rebecca@bsdio.com> In-Reply-To: <20210613034301.98641-1-rebecca@bsdio.com> Subject: =?UTF-8?B?5Zue5aSNOiBbZWRrMi1kZXZlbF0gW1BBVENIXSBCYXNlVG9vbHM6IFJlc2V0IEVSUk9STEVWRUwgaW4gdG9vbHNldHVwLmJhdCBhZnRlciBlZGsyYmFzZXRvb2xzIGNoZWNr?= Date: Thu, 17 Jun 2021 09:36:35 +0800 Message-ID: <004801d76319$35933110$a0b99330$@byosoft.com.cn> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQJuoowCdsv9uvw7qobWnt9oN/Nv5Kno7VFQ Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Content-Language: zh-cn Reviewed-by: Liming Gao > -----=D3=CA=BC=FE=D4=AD=BC=FE----- > =B7=A2=BC=FE=C8=CB: devel@edk2.groups.io = =B4=FA=B1=ED Rebecca Cran > =B7=A2=CB=CD=CA=B1=BC=E4: 2021=C4=EA6=D4=C213=C8=D5 11:43 > =CA=D5=BC=FE=C8=CB: Bob Feng ; Liming Gao > ; Yuwei Chen > =B3=AD=CB=CD: Rebecca Cran ; devel@edk2.groups.io > =D6=F7=CC=E2: [edk2-devel] [PATCH] BaseTools: Reset ERRORLEVEL in = toolsetup.bat > after edk2basetools check >=20 > When using the in-source BaseTools, edksetup.bat will exit with an > ERRORLEVEL of 1 because the line in toolsetup.bat > "%PYTHON_COMMAND% -c "import edk2basetools" >NUL 2>NUL" > fails. >=20 > Ensure ERRORLEVEL is set to 0 when edksetup.bat or toolsetup.bat is > successfully run. >=20 > Signed-off-by: Rebecca Cran > --- > BaseTools/toolsetup.bat | 2 ++ > 1 file changed, 2 insertions(+) >=20 > diff --git a/BaseTools/toolsetup.bat b/BaseTools/toolsetup.bat > index a766a69f08..ca8bfdd677 100755 > --- a/BaseTools/toolsetup.bat > +++ b/BaseTools/toolsetup.bat > @@ -401,6 +401,8 @@ goto end > if %ERRORLEVEL% EQU 0 ( >=20 > goto use_pip_basetools >=20 > ) else ( >=20 > + REM reset ERRORLEVEL >=20 > + type nul>nul >=20 > goto use_builtin_basetools >=20 > ) >=20 >=20 >=20 > -- > 2.32.0 >=20 >=20 >=20 >=20 > -=3D-=3D-=3D-=3D-=3D-=3D > Groups.io Links: You receive all messages sent to this group. > View/Reply Online (#76442): = https://edk2.groups.io/g/devel/message/76442 > Mute This Topic: https://groups.io/mt/83503069/4905953 > Group Owner: devel+owner@edk2.groups.io > Unsubscribe: https://edk2.groups.io/g/devel/unsub > [gaoliming@byosoft.com.cn] > -=3D-=3D-=3D-=3D-=3D-=3D >=20