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