summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn McCrae <john.mccrae@progress.com>2022-10-19 19:48:05 +0600
committerJohn McCrae <john.mccrae@progress.com>2022-10-20 16:34:54 +0600
commite67aa4a20741ce1bc4e7f544589bda6472eec8a1 (patch)
treed8404eb9298c71d4d5df45dd2b0f5ec390287ee3
parent8fd20902a0df230fa46313214fd269c373897533 (diff)
downloadchef-e67aa4a20741ce1bc4e7f544589bda6472eec8a1.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.ps13
1 files changed, 3 insertions, 0 deletions
diff --git a/.expeditor/scripts/ensure-minimum-viable-hab.ps1 b/.expeditor/scripts/ensure-minimum-viable-hab.ps1
index cc7be753c7..8ec349e1b8 100644
--- a/.expeditor/scripts/ensure-minimum-viable-hab.ps1
+++ b/.expeditor/scripts/ensure-minimum-viable-hab.ps1
@@ -22,6 +22,9 @@ catch {
write-output "`n"
$PSVersionTable
[System.Environment]::OSVersion
+ Write-Output "What version of Hab is this? $((hab --version).split(" ")[1].split("/")[0])"
+ write-output "`n"
+ Get-Command Hab
write-output "`n"
# This install fails if Hab isn't on the path when we check for the version. This ensures it is installed
Write-Host "--- :habicat: Forcing an install of habitat"