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 f1476bb commit 61c1fc4Copy full SHA for 61c1fc4
src/native/corehost/build.cmd
@@ -5,7 +5,7 @@ setlocal
5
:: Initialize the args that will be passed to cmake
6
set "__sourceDir=%~dp0"
7
:: remove trailing slash
8
-if %__sourceDir:~-1%==\ set "__ProjectDir=%__sourceDir:~0,-1%"
+if "%__sourceDir:~-1%"=="\" set "__sourceDir=%__sourceDir:~0,-1%"
9
10
set "__RepoRootDir=%__sourceDir%\..\..\.."
11
:: normalize
0 commit comments