We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d463a8 commit 0d0e00dCopy full SHA for 0d0e00d
src/setup.bat
@@ -268,8 +268,9 @@ set installScriptsDirPath=!rootDirPath!\devops\install
268
set utilsScript=!utilsScriptsDirPath!\utils.bat
269
270
:: Load vars in .env. This may update things like dotNetTarget
271
-for /f "tokens=1,2 delims==" %%a in (!rootDirPath!\.env) do set %%a=%%b
272
-
+if exist "!rootDirPath!\.env" (
+ for /f "tokens=1,2 delims==" %%a in ("!rootDirPath!\.env") do set %%a=%%b
273
+)
274
:: Helper vars for OS, Platform (see note below), and system name. systemName is
275
:: a no-op here because nothing exciting happens on Windows. In the corresponding
276
:: .sh setup files, systemName can be docker, Raspberry Pi, WSL - all sorts of fun
0 commit comments