diff options
author | Thomas Powell <powell@progress.com> | 2022-10-28 12:11:23 -0400 |
---|---|---|
committer | Thomas Powell <powell@progress.com> | 2022-10-28 12:11:23 -0400 |
commit | e88a45de8058eca0db108e0bd7da0d77089c1484 (patch) | |
tree | 1c842b44d8a368b4b5acfab7120085a9778c6b1c | |
parent | bbe7acbfff4c0a0a7241c9b1c902e9a65c708467 (diff) | |
download | chef-e88a45de8058eca0db108e0bd7da0d77089c1484.tar.gz |
try different calling method
Signed-off-by: Thomas Powell <powell@progress.com>
-rw-r--r-- | habitat/plan.ps1 | 4 |
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 |