Store installer drive as env variable
This commit is contained in:
parent
4d6e916750
commit
cbb68eecb0
|
@ -1,3 +1,3 @@
|
|||
$drives = & wmic volume get "DriveLetter,Label";
|
||||
$drive = $($($drives | Select-String -Pattern "winiso-valhalla") -split "\s+")[0];
|
||||
Set-Location (Join-Path $drive $env:LOCAL_PROJECT_PATH)
|
||||
$env:INSTALLER_DRIVE = $($($drives | Select-String -Pattern "winiso-valhalla") -split "\s+")[0];
|
||||
Set-Location (Join-Path $env:INSTALLER_DRIVE $env:LOCAL_PROJECT_PATH)
|
||||
|
|
Loading…
Reference in a new issue