summaryrefslogtreecommitdiff
path: root/init-dotnet.sh
diff options
context:
space:
mode:
authorjashook <jashoo@microsoft.com>2019-06-12 22:16:40 +0000
committerjashook <jashoo@microsoft.com>2019-06-12 22:16:40 +0000
commitff5f14a7c3440ab918beb3aa5b1b14ec1dbaad68 (patch)
tree6497039bc8893d7bc8de44ba32ed88a803886f1c /init-dotnet.sh
parent938383a60ffbb716e01dbbf941a239d4bfa7aaf6 (diff)
downloadcoreclr-ff5f14a7c3440ab918beb3aa5b1b14ec1dbaad68.tar.gz
coreclr-ff5f14a7c3440ab918beb3aa5b1b14ec1dbaad68.tar.bz2
coreclr-ff5f14a7c3440ab918beb3aa5b1b14ec1dbaad68.zip
Change how build.sh/build.cmd parse the PGO and IBC versions
This will reduce fragility in our build pipeline, by explicitely controlling the output of dotnet msbuild. It also unblocks the source-build effort, as source-build will write extra console output breaking our old parsing.
Diffstat (limited to 'init-dotnet.sh')
-rw-r--r--init-dotnet.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/init-dotnet.sh b/init-dotnet.sh
index b446260af5..36b74232f2 100644
--- a/init-dotnet.sh
+++ b/init-dotnet.sh
@@ -1,11 +1,11 @@
#!/usr/bin/env bash
-__scriptpath=$(cd "$(dirname "$0")"; pwd -P)
+__scriptpath="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
echo "Installing dotnet using Arcade..."
-source $__scriptpath/eng/configure-toolset.sh
-source $__scriptpath/eng/common/tools.sh
+source ${__scriptpath}/eng/configure-toolset.sh
+source ${__scriptpath}/eng/common/tools.sh
InitializeBuildTool