f7ac32bad74ee229c95d02fd32433846fe031772
[platform/upstream/coreclr.git] / init-dotnet.sh
1 #!/usr/bin/env bash
2
3 __scriptpath=$(cd "$(dirname "$0")"; pwd -P)
4
5 echo "Installing dotnet using Arcade..."
6
7 source $__scriptpath/eng/configure-toolset.sh
8 source $__scriptpath/eng/common/tools.sh
9
10 InitializeBuildTool
11
12 if [ $? != 0 ]; then
13     echo "Failed to install dotnet using Arcade"
14     exit $?
15 fi