summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorDaniel Podder <dapodd@microsoft.com>2017-07-11 07:59:42 -0700
committerGitHub <noreply@github.com>2017-07-11 07:59:42 -0700
commitde5f92822dbac17160da9e796e21918d2b812e38 (patch)
treedc27ce9a797350ac554c87368a09908f6a2f8de2 /build.sh
parent359c135052b8db8e4a0045a42a9a3273336ed792 (diff)
downloadcoreclr-de5f92822dbac17160da9e796e21918d2b812e38.tar.gz
coreclr-de5f92822dbac17160da9e796e21918d2b812e38.tar.bz2
coreclr-de5f92822dbac17160da9e796e21918d2b812e38.zip
Fix build.sh break by poorly timed dotnet first time experience (#12727)
Depending on machine state, calling `dotnet` to dump the PGO and IBC package version might trigger the first time experience message. This breaks build.sh where it tries to parse the package version from `dotnet msbuild`'s output. The fix is to disable the first time experience path in these two invocations of `dotnet`.
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/build.sh b/build.sh
index 465b8fb464..52ad1ae9ce 100755
--- a/build.sh
+++ b/build.sh
@@ -164,8 +164,8 @@ restore_optdata()
fi
fi
local OptDataProjectFilePath="$__ProjectRoot/src/.nuget/optdata/optdata.csproj"
- __PgoOptDataVersion=$($DotNetCli msbuild $OptDataProjectFilePath /t:DumpPgoDataPackageVersion /nologo | sed 's/^\s*//')
- __IbcOptDataVersion=$($DotNetCli msbuild $OptDataProjectFilePath /t:DumpIbcDataPackageVersion /nologo | sed 's/^\s*//')
+ __PgoOptDataVersion=$(DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1 $DotNetCli msbuild $OptDataProjectFilePath /t:DumpPgoDataPackageVersion /nologo | sed 's/^\s*//')
+ __IbcOptDataVersion=$(DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1 $DotNetCli msbuild $OptDataProjectFilePath /t:DumpIbcDataPackageVersion /nologo | sed 's/^\s*//')
fi
}