diff options
author | Daniel Podder <dapodd@microsoft.com> | 2017-07-11 07:59:42 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-11 07:59:42 -0700 |
commit | de5f92822dbac17160da9e796e21918d2b812e38 (patch) | |
tree | dc27ce9a797350ac554c87368a09908f6a2f8de2 /build.sh | |
parent | 359c135052b8db8e4a0045a42a9a3273336ed792 (diff) | |
download | coreclr-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-x | build.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 } |