diff options
author | John McCrae <john.mccrae@progress.com> | 2022-10-19 18:35:21 +0600 |
---|---|---|
committer | John McCrae <john.mccrae@progress.com> | 2022-10-20 16:34:53 +0600 |
commit | b0f6b854ffeadaa8384343495297554c6cb2ac9e (patch) | |
tree | 67f3ce273de4396abdb969233dd36c6d53bc7478 | |
parent | 8685182b56f9326973b3a0a02491dcae0a2825ad (diff) | |
download | chef-b0f6b854ffeadaa8384343495297554c6cb2ac9e.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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.expeditor/scripts/ensure-minimum-viable-hab.ps1 b/.expeditor/scripts/ensure-minimum-viable-hab.ps1 index 46deca3130..132dd72ab8 100644 --- a/.expeditor/scripts/ensure-minimum-viable-hab.ps1 +++ b/.expeditor/scripts/ensure-minimum-viable-hab.ps1 @@ -15,3 +15,4 @@ catch { 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") |