From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) (using TLSv1 with cipher CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id BD08D1A1E31 for ; Tue, 25 Oct 2016 20:31:54 -0700 (PDT) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 25 Oct 2016 20:31:54 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,548,1473145200"; d="scan'208";a="1050222217" Received: from shwde7172.ccr.corp.intel.com ([10.239.9.23]) by orsmga001.jf.intel.com with ESMTP; 25 Oct 2016 20:31:53 -0700 From: Liming Gao To: edk2-devel@lists.01.org Date: Wed, 26 Oct 2016 11:31:52 +0800 Message-Id: <1477452712-20132-1-git-send-email-liming.gao@intel.com> X-Mailer: git-send-email 2.8.0.windows.1 Subject: [Patch] edksetup.bat: make sure BASE_TOOLS_PATH be set correctly X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Oct 2016 03:31:54 -0000 Move checkNt32Flag before set BASE_TOOLS_PATH env to make sure it be set Cc: Yonghong Zhu Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao --- edksetup.bat | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/edksetup.bat b/edksetup.bat index 6c8c0aa..7aa1675 100755 --- a/edksetup.bat +++ b/edksetup.bat @@ -77,9 +77,10 @@ if not defined EDK_TOOLS_PATH ( ) ) ) -if exist %EDK_TOOLS_PATH%\Source set BASE_TOOLS_PATH=%EDK_TOOLS_PATH% :checkNt32Flag +if exist %EDK_TOOLS_PATH%\Source set BASE_TOOLS_PATH=%EDK_TOOLS_PATH% + @REM The Nt32 Emluation Platform requires Microsoft Libraries @REM and headers to interface with Windows. if /I "%1"=="--nt32" ( -- 2.8.0.windows.1