From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by mx.groups.io with SMTP id smtpd.web11.38498.1683393867893986557 for ; Sat, 06 May 2023 10:24:28 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@bsdio.com header.s=fm1 header.b=hWzP3pOL; spf=pass (domain: bsdio.com, ip: 66.111.4.27, mailfrom: rebecca@bsdio.com) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 3F8D85C00DF; Sat, 6 May 2023 13:24:27 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Sat, 06 May 2023 13:24:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdio.com; h=cc :cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm1; t=1683393867; x= 1683480267; bh=EFbLk5m3n84PoUqeYVHK9Z7GfkZlf/59q0KshdTp6/A=; b=h WzP3pOLh5+9wsFxuJJ87ezAtqiJN8AV4YEQZxf3USLo5AyyPBSJBcU6VU6N0obB8 836pd+g5xztdrf/Lq/SGOsjLVxZmO6c1deNGYo9LDYhf23mUY7vmzRGEMhCJxpae 3MkxE5GLJmhLHsWQYRB7zY5OhfLLf+g0idNzP4RX9hKYgW0fM/W//aeBXx6L1duS kBpao3ro8jR3GIwIz27vsCF7dz3r4yUL9LO1ePqwo9ivXzawqG6Xc48ht6cSr4fE E/3HhT7SxivvAuL3OnqdQTwXfh0/+gjH0N/a6BcL+JJNUuyR0VeDwe9I2L0zS+ok tOsQleoHWE+ETf7Kgd0hQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1683393867; x= 1683480267; bh=EFbLk5m3n84PoUqeYVHK9Z7GfkZlf/59q0KshdTp6/A=; b=G DQ/9FfxcJBU9O5AdDQNcsaQuM0g0WQtVpU6by6KEIY3wDMYSSpMdHhDb6on5S5AO kn8p/CmsOmCRXgEJdG6Q1lmqgV5ChOiQML6FRdj67n4rHawIB2OAFe5/MiUViBvx mORdNpUdlfg7UztQjKgcPf68p4VBQIMp52LKVQV8WlqWTzL5Xb43LaLjBpH68nBS n0cDv3rdqQtuB+9CxzoBVQDpDHuYabJ3LUMA8dUZkmSltXYM80lkEUJswIbXaoQM XUE68j3f+7ySeIVlc1zSVq1ScYCCSw8bPmt5YcfimeOLzSOLNdbqTunZhC7GiohJ Oni5JPoOPfyv3jb5qZ4WQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeefgedgledtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheptfgvsggv tggtrgcuvehrrghnuceorhgvsggvtggtrgessghsughiohdrtghomheqnecuggftrfgrth htvghrnhepgeffueeuledvgefgvddvgfetvdduhfefkedukeeikedtudekfeetteeifedv leefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprh gvsggvtggtrgessghsughiohdrtghomh X-ME-Proxy: Feedback-ID: i5b994698:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 6 May 2023 13:24:26 -0400 (EDT) From: "Rebecca Cran" To: devel@edk2.groups.io, Andrew Fish , Leif Lindholm , Michael D Kinney , Liming Gao , Bob Feng , Yuwei Chen Cc: Rebecca Cran Subject: [PATCH v2 6/7] edksetup.bat: if toolsetup.bat fails, just exit Date: Sat, 6 May 2023 11:24:01 -0600 Message-Id: <20230506172402.116-7-rebecca@bsdio.com> X-Mailer: git-send-email 2.40.0.windows.1 In-Reply-To: <20230506172402.116-1-rebecca@bsdio.com> References: <20230506172402.116-1-rebecca@bsdio.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit If toolsetup.bat fails (i.e. exits with a non-zero %ERRORLEVEL%), don't try and carry on but just quit. Signed-off-by: Rebecca Cran --- edksetup.bat | 1 + 1 file changed, 1 insertion(+) diff --git a/edksetup.bat b/edksetup.bat index 2fdf130e00e2..71ceefb32742 100755 --- a/edksetup.bat +++ b/edksetup.bat @@ -86,6 +86,7 @@ if exist %EDK_TOOLS_PATH%\Source set BASE_TOOLS_PATH=%EDK_TOOLS_PATH% :checkBaseTools IF NOT EXIST "%EDK_TOOLS_PATH%\toolsetup.bat" goto BadBaseTools call %EDK_TOOLS_PATH%\toolsetup.bat %* +if %ERRORLEVEL% NEQ 0 goto end if /I "%1"=="Reconfig" shift goto check_NASM goto check_cygwin -- 2.40.0.windows.1