summaryrefslogtreecommitdiff
path: root/run.cmd
diff options
context:
space:
mode:
authorJarret Shook <jashoo@microsoft.com>2016-09-23 07:16:09 -0700
committerJan Kotas <jkotas@microsoft.com>2016-09-23 07:16:09 -0700
commit5e78b50f3de5c99f469f679ad11d794526d6cd8f (patch)
treeb68d9ae2d0cff93f04d885d59e36e6f85df96886 /run.cmd
parent43efdc69a104d8dbfbe48177dd4a03ea30b0bdfd (diff)
downloadcoreclr-5e78b50f3de5c99f469f679ad11d794526d6cd8f.tar.gz
coreclr-5e78b50f3de5c99f469f679ad11d794526d6cd8f.tar.bz2
coreclr-5e78b50f3de5c99f469f679ad11d794526d6cd8f.zip
Remove the dependency of using config.json in cwd (#7330)
Currently the config.json file is looked for in the current working directory. This change forces run.exe to use the relative path of the file relative to the build script.
Diffstat (limited to 'run.cmd')
-rw-r--r--run.cmd6
1 files changed, 3 insertions, 3 deletions
diff --git a/run.cmd b/run.cmd
index 3647198d3d..710f50c0f5 100644
--- a/run.cmd
+++ b/run.cmd
@@ -30,10 +30,10 @@ if NOT [%ERRORLEVEL%]==[0] (
set _toolRuntime=%~dp0Tools
set _dotnet=%_toolRuntime%\dotnetcli\dotnet.exe
-echo Running: %_dotnet% %_toolRuntime%\run.exe %*
-call %_dotnet% %_toolRuntime%\run.exe %*
+echo Running: %_dotnet% %_toolRuntime%\run.exe %~dp0config.json %*
+call %_dotnet% %_toolRuntime%\run.exe %~dp0config.json %*
if NOT [%ERRORLEVEL%]==[0] (
exit /b 1
)
-exit /b 0 \ No newline at end of file
+exit /b 0