summaryrefslogtreecommitdiff
path: root/dotnet.sh
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2019-03-02 08:49:52 -0800
committerGitHub <noreply@github.com>2019-03-02 08:49:52 -0800
commitff53a99fb9e4c6e479a60c09a7014bfb72af4936 (patch)
tree074a6b75dc614a2df13e6cfbd79dac5eea9bf882 /dotnet.sh
parent75ec7c0274f24680d7a880327dafd96ea054a065 (diff)
downloadcoreclr-ff53a99fb9e4c6e479a60c09a7014bfb72af4936.tar.gz
coreclr-ff53a99fb9e4c6e479a60c09a7014bfb72af4936.tar.bz2
coreclr-ff53a99fb9e4c6e479a60c09a7014bfb72af4936.zip
Disable DOTNET_MULTILEVEL_LOOKUP in the build scripts (#22972)
Fixes #22971
Diffstat (limited to 'dotnet.sh')
-rwxr-xr-xdotnet.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/dotnet.sh b/dotnet.sh
index 11771a713c..479d6be82c 100755
--- a/dotnet.sh
+++ b/dotnet.sh
@@ -2,6 +2,12 @@
working_tree_root="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
+# Don't resolve runtime, shared framework, or SDK from other locations to ensure build determinism
+export DOTNET_MULTILEVEL_LOOKUP=0
+
+# Disable first run since we want to control all package sources
+export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
+
echo "Running init-tools.sh"
source $working_tree_root/init-tools.sh