diff options
author | John McCrae <john.mccrae@progress.com> | 2022-11-01 13:16:23 +0600 |
---|---|---|
committer | John McCrae <john.mccrae@progress.com> | 2022-11-01 13:16:23 +0600 |
commit | 9e554bdde24914630446a1b3a7821c45aa4dd4b8 (patch) | |
tree | d4e3b6ceafd490da8e5e395ae30dafb6698485fe | |
parent | 0c08a55754a15a7c3a7ffa20782bf09f29fca868 (diff) | |
download | chef-9e554bdde24914630446a1b3a7821c45aa4dd4b8.tar.gz |
Solved? No, but closer
Signed-off-by: John McCrae <john.mccrae@progress.com>
-rw-r--r-- | habitat/plan.ps1 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/habitat/plan.ps1 b/habitat/plan.ps1 index 0f50ac0690..1c43faa140 100644 --- a/habitat/plan.ps1 +++ b/habitat/plan.ps1 @@ -56,6 +56,8 @@ function Invoke-Download { choco install git -y $env:Path += "C:\Program` Files\Git\cmd;" } + choco feature disable -n=showDownloadProgress + choco feature enable -n=allowGlobalConfirmation $env:Path = 'C:\Program Files\Git\cmd;' + [System.Environment]::GetEnvironmentVariable("Path", "Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path", "User") Invoke-Expression -Command "git archive --format=zip --output=$HAB_CACHE_SRC_PATH\\$pkg_filename HEAD" -ErrorAction Stop -Verbose Write-Host "Searching for Ruby" |