diff options
author | John McCrae <john.mccrae@progress.com> | 2022-10-30 10:57:49 +0600 |
---|---|---|
committer | John McCrae <john.mccrae@progress.com> | 2022-10-30 10:57:49 +0600 |
commit | 638e35151f1bd6294083bf39c3127610e49d8127 (patch) | |
tree | 43c81677d9cc4dc87c465c6864c4ffffea743ce1 | |
parent | 763ee2fdc735825daf4c0bf70ed2e0b140792de9 (diff) | |
download | chef-638e35151f1bd6294083bf39c3127610e49d8127.tar.gz |
Adding more debugging and correcting stupid mistakes
Signed-off-by: John McCrae <john.mccrae@progress.com>
-rw-r--r-- | habitat/plan.ps1 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/habitat/plan.ps1 b/habitat/plan.ps1 index c6e68065b3..2d6c838c07 100644 --- a/habitat/plan.ps1 +++ b/habitat/plan.ps1 @@ -46,6 +46,8 @@ function Invoke-Download() { # $env:Path = [System.Environment]::GetEnvironmentVariable("Path", "Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path", "User") # $git_path = "c:\\Program Files\\Git\\cmd" # $env:Path = $git_path + ";" + [System.Environment]::GetEnvironmentVariable("Path", "Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path", "User") + Write-Output "Dumping local system details : `n" + Get-ComputerInfo try { # Push-Location (Resolve-Path "$PLAN_CONTEXT/../").Path # # Write-Output "`n *** Installing Choco *** `n" @@ -54,7 +56,7 @@ function Invoke-Download() { $env:Path = [System.Environment]::GetEnvironmentVariable("Path", "Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path", "User") # $env:Path = $git_path + ";" + [System.Environment]::GetEnvironmentVariable("Path", "Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path", "User") $full_git_path = $("C:\\Program Files\\Git\\cmd\\git.exe") - Write-Ouput "Is Git REALLY Installed? " + Write-Output "Is Git REALLY Installed? " Test-Path -Path $full_git_path # # Get-Command "Git" # Write-Output "Hab source path is : ${HAB_CACHE_SRC_PATH}`n" |