Remove OpenSuse13.2 from runtime section in all Project.Jsons
[platform/upstream/coreclr.git] / run.sh
1 #!/usr/bin/env bash
2
3 working_tree_root="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
4
5 echo "Running init-tools.sh"
6 $working_tree_root/init-tools.sh
7
8 toolRuntime=$working_tree_root/Tools
9 dotnet=$toolRuntime/dotnetcli/dotnet
10
11 echo "Running: $dotnet $toolRuntime/run.exe $working_tree_root/config.json $*"
12 $dotnet $toolRuntime/run.exe $working_tree_root/config.json $*
13 if [ $? -ne 0 ]
14 then
15     echo "ERROR: An error occured in $dotnet $toolRuntime/run $#. Check $# logs under $working_tree_root."
16     exit 1
17 fi
18
19 echo "Command successfully completed."
20 exit 0