diff options
Diffstat (limited to 'scripts/packages/chocolatey/test.ps1')
-rw-r--r-- | scripts/packages/chocolatey/test.ps1 | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/packages/chocolatey/test.ps1 b/scripts/packages/chocolatey/test.ps1 index febbc2f417..b561ba2a98 100644 --- a/scripts/packages/chocolatey/test.ps1 +++ b/scripts/packages/chocolatey/test.ps1 @@ -1,12 +1,13 @@ param( - [switch] $prerelease + [switch] $prerelease, + [string] $sources = "." ) choco uninstall bazel --force -y if ($prerelease) { - choco install bazel --verbose --debug --prerelease --force -y -s ".;https://chocolatey.org/api/v2/" + choco install bazel --verbose --debug --prerelease --force -y -s $sources } else { - choco install bazel --verbose --debug --force -y -s ".;https://chocolatey.org/api/v2/" + choco install bazel --verbose --debug --force -y -s $sources } if ($LASTEXITCODE -ne 0) |