diff options
author | Thomas Powell <powell@progress.com> | 2022-10-28 13:34:16 -0400 |
---|---|---|
committer | Thomas Powell <powell@progress.com> | 2022-10-28 13:34:16 -0400 |
commit | 88640f3607034774642de597f606d66408b60933 (patch) | |
tree | e72895d74dac87ce507c1493a124f1fe659f8285 | |
parent | 1e9271190e5c750c25f1b9c5818b40800fc6f49e (diff) | |
download | chef-88640f3607034774642de597f606d66408b60933.tar.gz |
Just use choco
Signed-off-by: Thomas Powell <powell@progress.com>
-rw-r--r-- | habitat/plan.ps1 | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/habitat/plan.ps1 b/habitat/plan.ps1 index bd31ce43ff..9467993043 100644 --- a/habitat/plan.ps1 +++ b/habitat/plan.ps1 @@ -78,10 +78,9 @@ function Invoke-Download() { Write-BuildLine "Package files $files" $git_version=git --version Write-BuildLine "git_version $git_version" - $git_version_2=&"$git_path\git" --version - Write-BuildLine "git_version_2 $git_version_2" # [System.Diagnostics.Process]::Start("$git_path\\git", "archive --format=zip --output=${HAB_CACHE_SRC_PATH}\\${pkg_filename} HEAD") - Start-Process -FilePath "$git_path\\git" -Wait -ArgumentList "archive","--format=zip","--output=$HAB_CACHE_SRC_PATH\\$pkg_filename","HEAD" + # Start-Process -FilePath "$git_path\\git" -Wait -ArgumentList "archive","--format=zip","--output=$HAB_CACHE_SRC_PATH\\$pkg_filename","HEAD" + git archive --format=zip --output=$HAB_CACHE_SRC_PATH\$pkg_filename HEAD Write-BuildLine " __ hab cache src path after start-process " $files=Get-ChildItem $HAB_CACHE_SRC_PATH |