summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn McCrae <john.mccrae@progress.com>2022-10-19 19:23:41 +0600
committerJohn McCrae <john.mccrae@progress.com>2022-10-20 16:34:54 +0600
commitec96241927c8c2526ab79e18b8e60042c6af4382 (patch)
tree02554003e6486972c10d01adf220d27d53293b6e
parente8c82068cc34d89cf70bc8f7712cbcdb596e754e (diff)
downloadchef-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.ps12
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\"
}
-