From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mx.groups.io with SMTP id smtpd.web11.3256.1624594842355767115 for ; Thu, 24 Jun 2021 21:20:42 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=V4A9qq+n; spf=pass (domain: intel.com, ip: 134.134.136.20, mailfrom: bob.c.feng@intel.com) IronPort-SDR: +5OUk847kbBQ183hl0Mkf8GN4dhjj14QwfI/fKCFSHs3LvxS/anzjSG3LYZQqiuuZhDLG0fLtr VQX72fkhQWBw== X-IronPort-AV: E=McAfee;i="6200,9189,10025"; a="194748960" X-IronPort-AV: E=Sophos;i="5.83,298,1616482800"; d="scan'208";a="194748960" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Jun 2021 21:20:39 -0700 IronPort-SDR: v5YtS4v05NHBKRnLKbnCTXtP5qHyMzk80blZ+U9yC3M4LCcx9ddJGVrlbz4yHsvFIHKMoQs43V 68UoWELV/Ztw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.83,298,1616482800"; d="scan'208";a="488038293" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by orsmga001.jf.intel.com with ESMTP; 24 Jun 2021 21:20:38 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4; Thu, 24 Jun 2021 21:20:38 -0700 Received: from fmsmsx606.amr.corp.intel.com (10.18.126.86) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4; Thu, 24 Jun 2021 21:20:38 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4 via Frontend Transport; Thu, 24 Jun 2021 21:20:38 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.47) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.4; Thu, 24 Jun 2021 21:20:38 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=j9ZH+NOGI4kSbB/tM0o2Iy+qt73AfN8ZVs4PD92GYta8+lGI5vIalFT2CPb0lr5ZiXrQAWw3P0V/KbGzAAxKYhvz6JxnHpREOzvWQgbhXZ5zozGeHRKm1WL5fCpeOWAj9hZfrByy13fOBS5qz1ra6R6n5fBsFmqAJgauOEVLIC2RHXVm9K5psDxIBJSjdiZIaqt+PtAnOqXVNvZ6QduP6BAwL5G0e7v3FTtInzN2qSiAKIRkgT1uvbySW7FPKrnUkdA8y2bP3cY4Jph1mHGc2oPC52TH6FdR2VT+JfRTALZmf2cEP9XlKSNFQ45BlrKE7EsUhAiWugNxqBAWsPgs4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=sgKF+tiQ6YvG8E4qLZaNyC9pOXMd6vyVPkC/3Y4vngc=; b=cadJgLDGOfo/3pk1/PL/d2as8zYZt9rGfrKBWS9qJuMIy5G/gg3M+0MXBEKt5gz2/f+CINGQjhzEWWVxHhEm5VeaVhjLjLkj7os2Sz1w2i1XhafOyWfWWOobBCGKFLYfwRi2zVCmbSq3bkVi/adQ6TVU5/o5BaGdxsmFBlJzUKHDG6XsAYCmi5jMRObMbDFJtV4GG0Lu/7nfgfZoFAW6xbcR1365VMeKVPcvBaFmujpuaYE+x/etyNmy8dmF/qSKor/SD0Yul6xKkwofsqHT17Mz3EwR7U7KQe6n9Gi8SMeacFgUQ3h7/IcT4/qBTCBiYxS2xDtb8l064gMWbq/zcw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=sgKF+tiQ6YvG8E4qLZaNyC9pOXMd6vyVPkC/3Y4vngc=; b=V4A9qq+nTsAQAiV2ppHbcxoJvnR11InFQPvtC6F9aSPZnH6A9JDF81wM5bbui8369DVQkw3yD1Pn9PU7MiS98LRvfJl6YCKPE/SQn7KfKMozgji6AvzFxDerwrzc/Xc9+AXdn4TtxBf8rF94RZs15tw1Rmw1MLfe0Kcl5CKDhmg= Received: from DM6PR11MB4073.namprd11.prod.outlook.com (2603:10b6:5:19f::22) by DM6PR11MB3803.namprd11.prod.outlook.com (2603:10b6:5:141::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4242.21; Fri, 25 Jun 2021 04:20:37 +0000 Received: from DM6PR11MB4073.namprd11.prod.outlook.com ([fe80::585b:8bbc:602e:fb36]) by DM6PR11MB4073.namprd11.prod.outlook.com ([fe80::585b:8bbc:602e:fb36%5]) with mapi id 15.20.4264.020; Fri, 25 Jun 2021 04:20:37 +0000 From: "Bob Feng" To: "devel@edk2.groups.io" , "Feng, Bob C" , "rebecca@bsdio.com" , Liming Gao , "Chen, Christine" Subject: Re: [edk2-devel] [PATCH] BaseTools: Reset ERRORLEVEL in toolsetup.bat after edk2basetools check Thread-Topic: [edk2-devel] [PATCH] BaseTools: Reset ERRORLEVEL in toolsetup.bat after edk2basetools check Thread-Index: AQHXYAZBlIn9/9/kkEGFhE7n9CTIVaskCYVAgAApS6A= Date: Fri, 25 Jun 2021 04:20:37 +0000 Message-ID: References: <20210613034301.98641-1-rebecca@bsdio.com> <168BB05C0D926F60.31827@groups.io> In-Reply-To: <168BB05C0D926F60.31827@groups.io> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.102.204.51] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 848a87f4-d3c7-4a0c-1ce3-08d937909579 x-ms-traffictypediagnostic: DM6PR11MB3803: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:741; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: XkzAhIEQpG6fx4GZGzur8kCdcpkOnbytnwDkEY3UDITWlBJP1lTn1BSR0cJe+bKd/CGqmbtkK1Vg1mLVzRYsFup8tyv63hKIpLk/5HbqradOUfRE8I3q4RCGjPQCYAxeD0/lz/I8gUVUCUwAeE0y/IRwD+DHLCRcuIsMK+ALtBWKpzHKUU/bWFRdGDIebeQWYoeLturHCGNA+zXJwhRpqPLYbhPI9y8tYVQh218GBtLqidYKNS2+AXZ/bWaicDYjngFwHyszE6BAvngDYhMV2mQ+qmcagjctnS+39nzRK8QpKAm/U+AUfdOpVNXwQoggANs8/5tykRpbB1yHF31gsbKbgWsSCgubaw6OnNgOIkIQbHhtVRtmEOUK/If3V+5rwsLuO02CGNZKhbaGC6tlXwLBNsqgo4ox6KZ0JcKcvdmj0VmHV7Xw0OkqXnwjSWVRE1wjNkQoxTjZQz+1lV+7TpkuxWQKyAu3HUwu57c+QGSFd1ieMHyKYKZwXAG24UxCrc4+Mvqfn4WgklWpmiRGQqJFR6vCPPtmhRTyKA/5m8D7g9I+Vy5G6pAPkudHBpfhfFr6vU14EsrqVBO/6/c4r8pglP3LHYXCLxswa7Zt/zj3O/TgFnXxuelGHJFLgQ5ikpsK19rbo0xVejeLgMdlbMhHCKUZXG8NPoBeAjGG4c7r9k668p5GM0KjhvbC/pJpp0lq8TZbCn2yQAVCj/+wOu0eO3suJZfk+fNv1usxOSz2VU/uBHypyGWFI+hBJXBhcNKUdEqofN/NrRVqru2Ja+29onT+h1vFjFCRX4Hz3Z1qV+OReD4GZomyYodD8yKN x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR11MB4073.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(39860400002)(366004)(346002)(396003)(136003)(376002)(122000001)(55016002)(83380400001)(478600001)(966005)(53546011)(71200400001)(6506007)(38100700002)(186003)(7696005)(2906002)(26005)(76116006)(66556008)(66946007)(9686003)(64756008)(66476007)(66446008)(5660300002)(33656002)(8936002)(316002)(6636002)(110136005)(86362001)(52536014)(8676002)(134885004);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?ugbHIlIiU6y3Gj6QyiZmAgSaSaenxdnalaTrai3zqG7dpdLwHLbaSCC6K9/Q?= =?us-ascii?Q?EU9thyaKoOql3qdLHmGIC/lRu/zhOxmJ7SuqKehpddQ3buoFMnOH5MaUttSI?= =?us-ascii?Q?hK+U/Nee8OU3FgX9B9AVvsqdxToPMNMp75MJTVgkmvhW35SJUNtnxYlJsUsd?= =?us-ascii?Q?1dxxv5S2mcJEvCtnuMYtBC+ZniZFzK1l63B8UF81PKCnRQaY/JNd7662DiYO?= =?us-ascii?Q?1YEPYaMRGJyMSwKNoI6+e6LxS7S+alD167q52YBH78ZiE5VsVzHPAsdfdVnp?= =?us-ascii?Q?NsSf3W1VrpFG6rc25OzhHdDhIUASVP1P3FRc/fpFj882U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ke/RIsvU/01qBVtzZ7+MUUTu/dmoHpIrLe?= =?us-ascii?Q?xcDrcWmrtgfFMTm7gan18i6zAJYpeEUwJfA4jQGucs4mDD2bS8sOCPrcXfsJ?= =?us-ascii?Q?skfwUvf3ZcpwEl2/oXJ3W3uS?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR11MB4073.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 848a87f4-d3c7-4a0c-1ce3-08d937909579 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Jun 2021 04:20:37.0997 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: qJRHFk5sgKC/AgQ1LT8M2942a9Be4iLpmle8e6uM5oDTHmPXTWZwpEtM0nrrxk/0amKDRJZ9EgVmdF+QWreTPw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB3803 Return-Path: bob.c.feng@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Merged. -----Original Message----- From: devel@edk2.groups.io On Behalf Of Bob Feng Sent: Friday, June 25, 2021 9:53 AM To: devel@edk2.groups.io; rebecca@bsdio.com; Liming Gao ; Chen, Christine Subject: Re: [edk2-devel] [PATCH] BaseTools: Reset ERRORLEVEL in toolsetup= .bat after edk2basetools check Reviewed-by: Bob Feng -----Original Message----- From: devel@edk2.groups.io On Behalf Of Rebecca Cra= n Sent: Sunday, June 13, 2021 11:43 AM To: Feng, Bob C ; Liming Gao ; Chen, Christine Cc: Rebecca Cran ; devel@edk2.groups.io Subject: [edk2-devel] [PATCH] BaseTools: Reset ERRORLEVEL in toolsetup.bat= after edk2basetools check When using the in-source BaseTools, edksetup.bat will exit with an ERRORLE= VEL of 1 because the line in toolsetup.bat "%PYTHON_COMMAND% -c "import edk= 2basetools" >NUL 2>NUL" fails. Ensure ERRORLEVEL is set to 0 when edksetup.bat or toolsetup.bat is succes= sfully 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 a766a= 69f08..ca8bfdd677 100755 --- a/BaseTools/toolsetup.bat +++ b/BaseTools/toolsetup.bat @@ -401,6 +401,8 @@ goto end if %ERRORLEVEL% EQU 0 ( goto use_pip_basetools ) else (+ REM r= eset ERRORLEVEL+ type nul>nul goto use_builtin_basetools ) --=20 2.32.0 -=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/1768742 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [bob.c.feng@intel.com] -= = =3D-=3D-=3D-=3D-=3D-=3D