summaryrefslogtreecommitdiff
path: root/run.sh
diff options
context:
space:
mode:
authorJarret Shook <jashoo@microsoft.com>2016-09-23 14:16:09 (GMT)
committerJan Kotas <jkotas@microsoft.com>2016-09-23 14:16:09 (GMT)
commit5e78b50f3de5c99f469f679ad11d794526d6cd8f (patch)
treeb68d9ae2d0cff93f04d885d59e36e6f85df96886 /run.sh
parent43efdc69a104d8dbfbe48177dd4a03ea30b0bdfd (diff)
downloadcoreclr-5e78b50f3de5c99f469f679ad11d794526d6cd8f.zip
coreclr-5e78b50f3de5c99f469f679ad11d794526d6cd8f.tar.gz
coreclr-5e78b50f3de5c99f469f679ad11d794526d6cd8f.tar.bz2
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.sh')
-rwxr-xr-xrun.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/run.sh b/run.sh
index 1c9299a..bd6a68f 100755
--- a/run.sh
+++ b/run.sh
@@ -8,8 +8,8 @@ $working_tree_root/init-tools.sh
toolRuntime=$working_tree_root/Tools
dotnet=$toolRuntime/dotnetcli/dotnet
-echo "Running: $dotnet $toolRuntime/run.exe $*"
-$dotnet $toolRuntime/run.exe $*
+echo "Running: $dotnet $toolRuntime/run.exe $working_tree_root/config.json $*"
+$dotnet $toolRuntime/run.exe $working_tree_root/config.json $*
if [ $? -ne 0 ]
then
echo "ERROR: An error occured in $dotnet $toolRuntime/run $#. Check $# logs under $working_tree_root."