summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn McCrae <john.mccrae@progress.com>2022-06-26 17:01:40 -0700
committerJohn McCrae <john.mccrae@progress.com>2022-06-26 17:01:40 -0700
commit5b9a6641e3e2863e5d79f52197ee0f903f37f929 (patch)
tree8e29d28232dc3504c66e908ab17976c6763ed0e0
parentf9080e00a06c7e94b66c71e3ff2038dc37401e36 (diff)
downloadchef-jfm/windows_plan_correction.tar.gz
Chef-bin is missing somehow. Wo bist du?jfm/windows_plan_correction
Signed-off-by: John McCrae <john.mccrae@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 8abf7f914b..1bd2aa6121 100644
--- a/habitat/plan.ps1
+++ b/habitat/plan.ps1
@@ -138,7 +138,7 @@ function Invoke-Install {
Write-BuildLine "** generating binstubs for $gem with precise version pins"
# jfm
Write-BuildLine "** But first, where the hell is chef-bin?"
- $locations = Get-ChildItem -path c:\ -filter { *chef-bin* } -Recurse
+ $locations = Get-ChildItem -path c:\ -filter { *chef-bin* } -Recurse -ErrorAction SilentlyContinue
Write-Host "Here's my locations : $locations"
#nd jfm
appbundler.bat "${HAB_CACHE_SRC_PATH}/${pkg_dirname}" $pkg_prefix/bin $gem