diff options
author | John McCrae <john.mccrae@progress.com> | 2022-10-19 18:56:51 +0600 |
---|---|---|
committer | John McCrae <john.mccrae@progress.com> | 2022-10-20 16:34:53 +0600 |
commit | 91599ef8c4fd88a27b1b44002d5ccc36aca1e65a (patch) | |
tree | 539056debae282f8e14afd826fe47308da5144fb | |
parent | acc264465db71ee9741395c97b27db38464cc9ad (diff) | |
download | chef-91599ef8c4fd88a27b1b44002d5ccc36aca1e65a.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 4aa0c20edf..3e4d990493 100644 --- a/.expeditor/scripts/ensure-minimum-viable-hab.ps1 +++ b/.expeditor/scripts/ensure-minimum-viable-hab.ps1 @@ -15,6 +15,6 @@ catch { Write-Host "--- :habicat: Forcing an install of habitat" Set-ExecutionPolicy Bypass -Scope Process -Force 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") + $env:Path = [System.Environment]::GetEnvironmentVariable("Path", "Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path", "User") + ";C:\ProgramData\Habitat\" } |