diff options
author | John McCrae <john.mccrae@progress.com> | 2022-10-19 19:23:41 +0600 |
---|---|---|
committer | John McCrae <john.mccrae@progress.com> | 2022-10-20 16:34:54 +0600 |
commit | ec96241927c8c2526ab79e18b8e60042c6af4382 (patch) | |
tree | 02554003e6486972c10d01adf220d27d53293b6e | |
parent | e8c82068cc34d89cf70bc8f7712cbcdb596e754e (diff) | |
download | chef-ec96241927c8c2526ab79e18b8e60042c6af4382.tar.gz |
Correcting for Hab not being installed
Signed-off-by: John McCrae <john.mccrae@progress.com>
-rw-r--r-- | .expeditor/scripts/ensure-minimum-viable-hab.ps1 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.expeditor/scripts/ensure-minimum-viable-hab.ps1 b/.expeditor/scripts/ensure-minimum-viable-hab.ps1 index 2dfc779a3d..948d2ca085 100644 --- a/.expeditor/scripts/ensure-minimum-viable-hab.ps1 +++ b/.expeditor/scripts/ensure-minimum-viable-hab.ps1 @@ -5,6 +5,7 @@ try { Write-Output "What version of Windows and PowerShell is this?`n" $PSVersionTable [System.Environment]::OSVersion + Write-Output "What version of Hab is this? $((hab --version).split(" ")[1].split("/")[0])" write-ouput "`n" Get-Command Hab Set-ExecutionPolicy Bypass -Scope Process -Force @@ -26,4 +27,3 @@ catch { Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/habitat-sh/habitat/main/components/hab/install.ps1')) $env:Path = [System.Environment]::GetEnvironmentVariable("Path", "Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path", "User") + ";C:\ProgramData\Habitat\" } - |