Skip to content

Commit e95bcb1

Browse files
committed
modify the download command
1 parent 73fd0d9 commit e95bcb1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

eng/scripts/docs/Docs-ToC.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ function Get-WhlFile {
1313
$pipCommandArgs += "$Library==$Version"
1414

1515
# download the whl file
16-
Write-Host "pip download --quiet --only-binary :all: --dest $Destination --no-cache --no-deps $pipCommandArgs"
17-
pip download --quiet --only-binary :all: --dest $Destination --no-cache --no-deps $pipCommandArgs
16+
Write-Host "python -m pip download --quiet --only-binary=:all: --dest $Destination --no-deps $pipCommandArgs"
17+
python -m pip download --quiet --only-binary=:all: --dest $Destination --no-deps $pipCommandArgs
1818
if($LASTEXITCODE -ne 0) {
1919
return $false
2020
}

0 commit comments

Comments
 (0)