From nobody Tue Feb 10 01:31:16 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+104207+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+104207+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1683401476; cv=none; d=zohomail.com; s=zohoarc; b=a9ZZOjElY01vWfcIbcFR2XECWq8p/B5mqDI/lf+VtzZrQrRftYb7/Ol7rW723ulhPhG92yiBKaDGIoErXlMCL4Sfowc/vonYGsA/km0NxMlULyOQoFKbJL/Jbafz6TwSCa8IrfhpX+birYWYjW3mFRhR4ndKmH7KV3I5zb0YOYo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1683401476; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=U7E3R5X4uwiWRurm2DA9PFGFA0xkxvOewgPEZcuQNgg=; b=kPQgZevAxXNUgR8ou+iJtb80a/ciNPU6VH6IglqCMl4/sCKW9nFO2V8DWhWgDkEiPmBUXRENEX9JOZxzC4ioUbdBfgKZK5dvFKuZCkg/91AgfGl5nYP34F0kYa/wIIIBu5stBt8SNOMDIPkDzeIDo1tQHSBXVcUD2itrscVRn74= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+104207+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1683401476367881.895659403386; Sat, 6 May 2023 12:31:16 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id Mg76YY1788612xW5y07iLUwq; Sat, 06 May 2023 12:31:16 -0700 X-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 X-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) X-Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Sat, 06 May 2023 15:31:15 -0400 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 X-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: [edk2-devel] [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> In-Reply-To: <20230506193052.1835-1-rebecca@bsdio.com> References: <20230506193052.1835-1-rebecca@bsdio.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,rebecca@bsdio.com X-Gm-Message-State: wNarCfHkvCnsX2oz2Wv7Ibw6x1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1683401476; bh=usJy4kOidwwMQXEwoZf74O9aMNsXY5M/hNwAuMabif4=; h=Cc:Date:From:Reply-To:Subject:To; b=XdfQl2y45quFKQrE1PxoWItiPJ+xiDClQ9ZjfR5m7qm7pCTkAHniEGgXsSu1t1LFQH2 /bhQlyT+dQS3QMqCVp1MV/iF20nz1mQqlZWk3nYam0RZBTw85fSblYlhdkOekKJzAdA9W 5C/JDjSnHpzdfIrQAj4juX9AI/PYL63dZ7U= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1683401478267100001 Content-Type: text/plain; charset="utf-8" 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=3D%E= DK_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"=3D=3D"Reconfig" shift goto check_NASM goto check_cygwin --=20 2.40.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#104207): https://edk2.groups.io/g/devel/message/104207 Mute This Topic: https://groups.io/mt/98730538/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-