diff options
author | John McCrae <john.mccrae@progress.com> | 2022-10-19 18:54:15 +0600 |
---|---|---|
committer | John McCrae <john.mccrae@progress.com> | 2022-10-20 16:34:53 +0600 |
commit | acc264465db71ee9741395c97b27db38464cc9ad (patch) | |
tree | 37f308893251a2bfbe76bb51ea0d5705ed7c390e | |
parent | e41fad5de32f78d89f60e18af75ad1250d745888 (diff) | |
download | chef-acc264465db71ee9741395c97b27db38464cc9ad.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 2a27c4c8f6..4aa0c20edf 100644 --- a/.expeditor/scripts/ensure-minimum-viable-hab.ps1 +++ b/.expeditor/scripts/ensure-minimum-viable-hab.ps1 @@ -12,7 +12,7 @@ try { } catch { # This install fails if Hab isn't on the path when we check for the version. This ensures it is installed - Write-Host "--- :habicat: Installing the version of Habitat required" + 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") |