From 9c0a9f9cc69b522879545db809ef355d4296be52 Mon Sep 17 00:00:00 2001 From: John Benediktsson Date: Thu, 16 Dec 2021 13:37:14 -0800 Subject: [PATCH] build.cmd: set outside if. --- build.cmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.cmd b/build.cmd index 2d8b958291..85466486b5 100644 --- a/build.cmd +++ b/build.cmd @@ -80,9 +80,9 @@ if "%_compile_vm%"=="1" ( if errorlevel 1 goto fail ) +set _bootimage_url=http://downloads.factorcode.org/images/%GIT_BRANCH%/%_bootimage% if "%_bootimage_type%"=="download" ( echo Fetching %GIT_BRANCH% boot image... - set _bootimage_url=http://downloads.factorcode.org/images/%GIT_BRANCH%/%_bootimage% echo URL: %_bootimage_url% cscript /nologo misc\http-get.vbs %_bootimage_url% %_bootimage% if errorlevel 1 goto fail -- 2.34.1