summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Powell <powell@progress.com>2022-10-28 12:11:23 -0400
committerThomas Powell <powell@progress.com>2022-10-28 12:11:23 -0400
commite88a45de8058eca0db108e0bd7da0d77089c1484 (patch)
tree1c842b44d8a368b4b5acfab7120085a9778c6b1c
parentbbe7acbfff4c0a0a7241c9b1c902e9a65c708467 (diff)
downloadchef-e88a45de8058eca0db108e0bd7da0d77089c1484.tar.gz
try different calling method
Signed-off-by: Thomas Powell <powell@progress.com>
-rw-r--r--habitat/plan.ps14
1 files changed, 2 insertions, 2 deletions
diff --git a/habitat/plan.ps1 b/habitat/plan.ps1
index 47a6149113..cf9185d087 100644
--- a/habitat/plan.ps1
+++ b/habitat/plan.ps1
@@ -57,8 +57,8 @@ function Invoke-Download() {
Write-BuildLine "HAB_CACHE_SRC_PATH = $HAB_CACHE_SRC_PATH"
$files=Get-ChildItem $HAB_CACHE_SRC_PATH
Write-BuildLine $files
- [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"
+ # [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"
Write-BuildLine " __ hab cache src path after start-process "
$files=Get-ChildItem $HAB_CACHE_SRC_PATH