Skip to content

Commit 82cbea1

Browse files
authored
Fix variables in restore-toolset.sh/.ps1
The productBuild variable got renamed in #49080 which caused errors.
1 parent 85e574c commit 82cbea1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

eng/restore-toolset.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ function InitializeCustomSDKToolset {
99
}
1010

1111
# The following frameworks and tools are used only for testing.
12-
# Do not attempt to install them in product build.
13-
if ($productBuild) {
12+
# Do not attempt to install them when building in the VMR.
13+
if ($fromVmr) {
1414
return
1515
}
1616

eng/restore-toolset.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ function InitializeCustomSDKToolset {
66
fi
77

88
# The following frameworks and tools are used only for testing.
9-
# Do not attempt to install them in product build.
10-
if [[ $product_build == true ]]; then
9+
# Do not attempt to install them when building in the VMR.
10+
if [[ $from_vmr == true ]]; then
1111
return
1212
fi
1313

0 commit comments

Comments
 (0)