mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-19 06:53:58 +08:00
Fix for Issue #2729
Allows PowerShell to change the name of the downloaded directory correctly.
This commit is contained in:
parent
7d96916995
commit
f136732dcd
@ -160,7 +160,7 @@ function vcpkgExtractFile( [Parameter(Mandatory=$true)][string]$file,
|
||||
}
|
||||
else
|
||||
{
|
||||
Move-Item -Path $destinationPartial -Destination $output
|
||||
Move-Item -Path "$destinationPartial" -Destination $output
|
||||
}
|
||||
}
|
||||
|
||||
@ -220,4 +220,4 @@ function vcpkgFormatElapsedTime([TimeSpan]$ts)
|
||||
}
|
||||
|
||||
throw $ts
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user