diff options
author | Thomas Powell <powell@progress.com> | 2022-10-28 12:33:19 -0400 |
---|---|---|
committer | Thomas Powell <powell@progress.com> | 2022-10-28 12:33:19 -0400 |
commit | 7e09cd29a91acb7700743b25a5bffc43dc5bc197 (patch) | |
tree | 8a28ff81bb5184bb481bee2aa0b5e2b67d84d75d | |
parent | fa28c4302ad543a9d8f12185929bebc1a96b774f (diff) | |
download | chef-7e09cd29a91acb7700743b25a5bffc43dc5bc197.tar.gz |
Uppercase c: and git version
Signed-off-by: Thomas Powell <powell@progress.com>
-rw-r--r-- | habitat/plan.ps1 | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/habitat/plan.ps1 b/habitat/plan.ps1 index c1e4fdcfa5..ad27139ff2 100644 --- a/habitat/plan.ps1 +++ b/habitat/plan.ps1 @@ -43,7 +43,9 @@ function Invoke-Download() { # appropriate path within the repo and place the generated tarball in the # location expected by do_unpack Write-BuildLine "before git_path" - $git_path += "c:\\Program Files\\Git\\bin" + $git_path += "C:\\Program Files\\Git\\bin" + $git_version=git --version + Write-BuildLine "git_version $git_version" Write-BuildLine "git_path = $git_path" Write-BuildLine "after git_path" try { @@ -56,7 +58,7 @@ function Invoke-Download() { Write-BuildLine " __ hab cache src path before git " Write-BuildLine "HAB_CACHE_SRC_PATH = $HAB_CACHE_SRC_PATH" $files=Get-ChildItem $HAB_CACHE_SRC_PATH - Write-BuildLine $files + Write-BuildLine "Package files $files" $git_version=git --version Write-BuildLine "git_version $git_version" $git_version_2=&"$git_path\git" --version @@ -66,7 +68,7 @@ function Invoke-Download() { Write-BuildLine " __ hab cache src path after start-process " $files=Get-ChildItem $HAB_CACHE_SRC_PATH - Write-BuildLine $files + Write-BuildLine "Package files $files" Start-Sleep -Seconds 30 Write-BuildLine " __ hab cache src path after start-process + 30 seconds" $files=Get-ChildItem $HAB_CACHE_SRC_PATH |