summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Powell <powell@progress.com>2022-10-28 13:34:16 -0400
committerThomas Powell <powell@progress.com>2022-10-28 13:34:16 -0400
commit88640f3607034774642de597f606d66408b60933 (patch)
treee72895d74dac87ce507c1493a124f1fe659f8285
parent1e9271190e5c750c25f1b9c5818b40800fc6f49e (diff)
downloadchef-88640f3607034774642de597f606d66408b60933.tar.gz
Just use choco
Signed-off-by: Thomas Powell <powell@progress.com>
-rw-r--r--habitat/plan.ps15
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