summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Powell <powell@progress.com>2022-10-28 13:29:57 -0400
committerThomas Powell <powell@progress.com>2022-10-28 13:29:57 -0400
commit1e9271190e5c750c25f1b9c5818b40800fc6f49e (patch)
tree2af46fedda6752a30006e323f980aae27d2f2cbe
parent6b97d62401a9f5fc4fbe1805b5b11cbf35776630 (diff)
downloadchef-1e9271190e5c750c25f1b9c5818b40800fc6f49e.tar.gz
test-path not test-file
Signed-off-by: Thomas Powell <powell@progress.com>
-rw-r--r--habitat/plan.ps12
1 files changed, 1 insertions, 1 deletions
diff --git a/habitat/plan.ps1 b/habitat/plan.ps1
index fe3693e6e0..bd31ce43ff 100644
--- a/habitat/plan.ps1
+++ b/habitat/plan.ps1
@@ -44,7 +44,7 @@ function Invoke-Download() {
# location expected by do_unpack
Write-BuildLine "before git_path"
$git_path += "C:\\Program Files\\Git\\bin"
- $git_exists = Test-File "$git_path\\git.exe"
+ $git_exists = Test-Path "$git_path\\git.exe"
Write-BuildLine "git exists $git_exists"
$git_paths=gci c:\ -include "git.exe" -recurse