From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by mx.groups.io with SMTP id smtpd.web10.40790.1683401475462093446 for ; Sat, 06 May 2023 12:31:15 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@bsdio.com header.s=fm1 header.b=wniU9TG+; spf=pass (domain: bsdio.com, ip: 64.147.123.24, mailfrom: rebecca@bsdio.com) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 6C0F53200319; Sat, 6 May 2023 15:31:14 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Sat, 06 May 2023 15:31:15 -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=1683401474; x= 1683487874; bh=EFbLk5m3n84PoUqeYVHK9Z7GfkZlf/59q0KshdTp6/A=; b=w niU9TG+8T9p5WqBgjEaQKPcSEJTykexZ5f7EtcN/ZndtEYxAHtmpTjfHUTbCpq9c 7xL/gb0W21lBHB7AsOfRU2xvwJGGp8O0pkrVe4WZGfDgtubKRPsTp5xYdTqgNDa6 0y8nHwL+Tb8OMs7nUzzNL3X/1obgijJewpNo5t9NR+J0ZHLFB+Ty+XDQ6GYK5QzQ REsqx4U+8poKBPUpIDE7RtKFhETR/IF+8I4ZxVn03DO/PPZr6Gj10uEh/0ffnOhP LQXirtJA4MD3/OYYZR9uYxSnASI71ABZDcona26PS316nH/VmJr8VjO57C986YAm 72AiSANhTeygxdYqLAMRg== 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=1683401474; x= 1683487874; bh=EFbLk5m3n84PoUqeYVHK9Z7GfkZlf/59q0KshdTp6/A=; b=T 7FKhLnhr5bQqlpsFNupZMNLHrtdg3O7JQQRF5NURwNCZNMvSRvJwKFMOMZn/Gchp oBEmv4zEfFXURRTP0JnOfZ1w7gziYmkcHRurgw/rj9H+GzA9YsyvyVlhJeLKQK3H BO7HYJbpduawoN9rm7dHRsTVb78qwWr5yExYrhx6a0nmQK/nxGfTGI90B8mBVNA4 R3H7s368fOBBF/xQ0Dqf/SGIiz6GJhRGEKyBPRtv5m2EemrnkgPVecEGBQDmbpAm PD8Axj4YW/ljiYdeSKMma5zWQpdDaA9KtOHMYGYxm8TAH2CMGg5k3uZV6m3LR5d1 UYFWUgY5AlLciEY4rckrA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeefgedgudduiecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpeftvggs vggttggrucevrhgrnhcuoehrvggsvggttggrsegsshguihhordgtohhmqeenucggtffrrg htthgvrhhnpeegffeuueelvdeggfdvvdfgtedvudfhfeekudekieektddukeefteetieef vdelfeenucevlhhushhtvghrufhiiigvpedunecurfgrrhgrmhepmhgrihhlfhhrohhmpe hrvggsvggttggrsegsshguihhordgtohhm X-ME-Proxy: Feedback-ID: i5b994698:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 6 May 2023 15:31:12 -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 v3 3/4] edksetup.bat: if toolsetup.bat fails, just exit Date: Sat, 6 May 2023 13:30:51 -0600 Message-Id: <20230506193052.1835-4-rebecca@bsdio.com> X-Mailer: git-send-email 2.40.0.windows.1 In-Reply-To: <20230506193052.1835-1-rebecca@bsdio.com> References: <20230506193052.1835-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