mirror of https://github.com/astral-sh/uv
Explicitly create the DevDrive tmpdir before use (#7644)
A suggested solution to #6940 — unfortunately only time will tell if it works.
This commit is contained in:
parent
a541d6cf70
commit
47eeef5c09
|
|
@ -12,6 +12,9 @@ Write-Output $Volume
|
||||||
$Drive = "$($Volume.DriveLetter):"
|
$Drive = "$($Volume.DriveLetter):"
|
||||||
$Tmp = "$($Drive)/uv-tmp"
|
$Tmp = "$($Drive)/uv-tmp"
|
||||||
|
|
||||||
|
# Create the directory ahead of time in an attempt to avoid race-conditions
|
||||||
|
New-Item $Tmp -ItemType Directory
|
||||||
|
|
||||||
Write-Output `
|
Write-Output `
|
||||||
"DEV_DRIVE=$($Drive)" `
|
"DEV_DRIVE=$($Drive)" `
|
||||||
"TMP=$($Tmp)" `
|
"TMP=$($Tmp)" `
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue