From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out03.mta.xmission.com (out03.mta.xmission.com [166.70.13.233]) by mx.groups.io with SMTP id smtpd.web09.13673.1623555788754656596 for ; Sat, 12 Jun 2021 20:43:08 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@bsdio.com header.s=xmission header.b=kj8RJEP0; spf=none, err=SPF record not found (domain: bsdio.com, ip: 166.70.13.233, mailfrom: rebecca@bsdio.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=simple/simple; d=bsdio.com; s=xmission; h=Subject:Content-Transfer-Encoding:MIME-Version:Message-Id:Date: Cc:To:From:Sender:Reply-To:Content-Type:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=suT2R+/P0wXSdFiK9pytJaNRRKbO/TIGuUxGsKvXWos=; b=kj8RJEP0ljt5cNuaXphu9HMtUk FHb74fF8eUt6AH3IUkFgWGHIZDCYyx4f83hfioYTPWj0sBUW2o4cIY/qCdy49Da1Ev1NDFDb4qbAR uYfHXIS30qtmKMI0l10b3d6BK/ax70DN7xfLjHp5Fe5xKbQsVJFtcWuTIg8K+AYrw4B8=; Received: from in02.mta.xmission.com ([166.70.13.52]) by out03.mta.xmission.com with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1lsH1d-002WtL-7H; Sat, 12 Jun 2021 21:43:05 -0600 Received: from mta4.zcs.xmission.com ([166.70.13.68]) by in02.mta.xmission.com with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1lsH1c-008cwV-CM; Sat, 12 Jun 2021 21:43:04 -0600 Received: from localhost (localhost [127.0.0.1]) by mta4.zcs.xmission.com (Postfix) with ESMTP id 23272500C88; Sat, 12 Jun 2021 21:43:04 -0600 (MDT) X-Amavis-Modified: Mail body modified (using disclaimer) - mta4.zcs.xmission.com Received: from mta4.zcs.xmission.com ([127.0.0.1]) by localhost (mta4.zcs.xmission.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id w4a44b4edyOK; Sat, 12 Jun 2021 21:43:04 -0600 (MDT) Received: from photon.int.bluestop.org (c-174-52-16-57.hsd1.ut.comcast.net [174.52.16.57]) by mta4.zcs.xmission.com (Postfix) with ESMTPSA id E25FE500C6D; Sat, 12 Jun 2021 21:43:03 -0600 (MDT) From: "Rebecca Cran" To: Bob Feng , Liming Gao , Yuwei Chen Cc: Rebecca Cran , devel@edk2.groups.io Date: Sat, 12 Jun 2021 21:43:01 -0600 Message-Id: <20210613034301.98641-1-rebecca@bsdio.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 X-XM-SPF: eid=1lsH1c-008cwV-CM;;;mid=<20210613034301.98641-1-rebecca@bsdio.com>;;;hst=in02.mta.xmission.com;;;ip=166.70.13.68;;;frm=rebecca@bsdio.com;;;spf=none X-SA-Exim-Connect-IP: 166.70.13.68 X-SA-Exim-Mail-From: rebecca@bsdio.com X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on sa01.xmission.com X-Spam-Level: * X-Spam-Status: No, score=1.7 required=8.0 tests=ALL_TRUSTED,BAYES_50, DCC_CHECK_NEGATIVE,TooManyTo_001,TooManyTo_002,XMBrknScrpt_02, XMSubLong autolearn=disabled version=3.4.2 X-Spam-Virus: No X-Spam-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP * 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% * [score: 0.4989] * 0.5 TooManyTo_002 Multiple "To" Header Recipients 3x (uncommon) * 0.3 TooManyTo_001 Multiple "To" Header Recipients 2x (uncommon) * 0.7 XMSubLong Long Subject * -0.0 DCC_CHECK_NEGATIVE Not listed in DCC * [sa01 1397; IP=ok Body=1 Fuz1=1] [Fuz2=1] * 0.4 XMBrknScrpt_02 Possible Broken Spam Script X-Spam-DCC: XMission; sa01 1397; IP=ok Body=1 Fuz1=1 Fuz2=1 X-Spam-Combo: *;Bob Feng , Liming Gao , Yuwei Chen X-Spam-Relay-Country: X-Spam-Timing: total 355 ms - load_scoreonly_sql: 0.04 (0.0%), signal_user_changed: 4.2 (1.2%), b_tie_ro: 2.8 (0.8%), parse: 1.09 (0.3%), extract_message_metadata: 11 (3.1%), get_uri_detail_list: 0.88 (0.2%), tests_pri_-1000: 11 (3.0%), tests_pri_-950: 1.06 (0.3%), tests_pri_-900: 0.81 (0.2%), tests_pri_-90: 84 (23.6%), check_bayes: 82 (23.2%), b_tokenize: 4.1 (1.2%), b_tok_get_all: 4.3 (1.2%), b_comp_prob: 1.18 (0.3%), b_tok_touch_all: 70 (19.7%), b_finish: 0.75 (0.2%), tests_pri_0: 230 (64.8%), check_dkim_signature: 0.37 (0.1%), check_dkim_adsp: 45 (12.8%), poll_dns_idle: 43 (12.2%), tests_pri_10: 2.7 (0.8%), tests_pri_500: 7 (2.0%), rewrite_mail: 0.00 (0.0%) Subject: [PATCH] BaseTools: Reset ERRORLEVEL in toolsetup.bat after edk2basetools check X-SA-Exim-Version: 4.2.1 (built Sat, 08 Feb 2020 21:53:50 +0000) X-SA-Exim-Scanned: Yes (on in02.mta.xmission.com) Content-Transfer-Encoding: quoted-printable 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. Ensure ERRORLEVEL is set to 0 when edksetup.bat or toolsetup.bat is successfully run. Signed-off-by: Rebecca Cran --- BaseTools/toolsetup.bat | 2 ++ 1 file changed, 2 insertions(+) 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 (=0D goto use_pip_basetools=0D ) else (=0D + REM reset ERRORLEVEL=0D + type nul>nul=0D goto use_builtin_basetools=0D )=0D =0D --=20 2.32.0