From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.31; helo=mga06.intel.com; envelope-from=liming.gao@intel.com; receiver=edk2-devel@lists.01.org Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) (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 DA0DC21FD73F7 for ; Thu, 22 Feb 2018 23:19:40 -0800 (PST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Feb 2018 23:25:41 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,382,1515484800"; d="scan'208";a="203162710" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga005.jf.intel.com with ESMTP; 22 Feb 2018 23:25:41 -0800 Received: from fmsmsx119.amr.corp.intel.com (10.18.124.207) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 22 Feb 2018 23:25:41 -0800 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by FMSMSX119.amr.corp.intel.com (10.18.124.207) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 22 Feb 2018 23:25:41 -0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.125]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.116]) with mapi id 14.03.0319.002; Fri, 23 Feb 2018 15:25:39 +0800 From: "Gao, Liming" To: "Zhu, Yonghong" , "edk2-devel@lists.01.org" Thread-Topic: [edk2] [Patch] BaseTools: Add WindowsLike path in front of PATH Env Thread-Index: AQHTq4VOBsByVLUOzEa3WuOYPtGG16Oxl/DA Date: Fri, 23 Feb 2018 07:25:39 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14E1CEC6E@SHSMSX104.ccr.corp.intel.com> References: <1519266696-27124-1-git-send-email-yonghong.zhu@intel.com> In-Reply-To: <1519266696-27124-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: Add WindowsLike path in front of PATH Env X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Feb 2018 07:19:41 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Liming Gao >-----Original Message----- >From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of >Yonghong Zhu >Sent: Thursday, February 22, 2018 10:32 AM >To: edk2-devel@lists.01.org >Subject: [edk2] [Patch] BaseTools: Add WindowsLike path in front of PATH E= nv > >Original BaseTools source build append WindowsLike path to PATH Env, >while WINDDK installation has a "build.exe", if user place WINDDK >folder to PATH either during WINDDK installation or manually, it will >block the BaseTools' build.bat. > >Contributed-under: TianoCore Contribution Agreement 1.1 >Signed-off-by: Yonghong Zhu >--- > BaseTools/toolsetup.bat | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/BaseTools/toolsetup.bat b/BaseTools/toolsetup.bat >index 51c2760..562f993 100755 >--- a/BaseTools/toolsetup.bat >+++ b/BaseTools/toolsetup.bat >@@ -315,11 +315,11 @@ goto end > if not defined PYTHON_FREEZER_PATH ( > echo. > echo !!! WARNING !!! PYTHON_FREEZER_PATH environment variable is not >set. > echo Setup environment to run Python scripts directly. > echo. >- set "PATH=3D%PATH%;%BASE_TOOLS_PATH%\BinWrappers\WindowsLike" >+ set "PATH=3D%BASE_TOOLS_PATH%\BinWrappers\WindowsLike;%PATH%" > ) > > set BASETOOLS_PYTHON_SOURCE=3D%BASE_TOOLS_PATH%\Source\Python > set PYTHONPATH=3D%BASETOOLS_PYTHON_SOURCE%;%PYTHONPATH% > >-- >2.6.1.windows.1 > >_______________________________________________ >edk2-devel mailing list >edk2-devel@lists.01.org >https://lists.01.org/mailman/listinfo/edk2-devel