summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn McCrae <john.mccrae@progress.com>2022-10-29 10:05:46 +0600
committerJohn McCrae <john.mccrae@progress.com>2022-10-29 10:05:46 +0600
commit6d577dc59539b97b91a9352ff76ce4d05f5c4a04 (patch)
treeda66c50a50c0560e7ae501e0e92676d5f383c9ba
parentd63d4c4d2f4b57223f8d9c16bc663cab280c812f (diff)
downloadchef-6d577dc59539b97b91a9352ff76ce4d05f5c4a04.tar.gz
Why is git archive failing? Replacing it with Compress-Archive
Signed-off-by: John McCrae <john.mccrae@progress.com>
-rw-r--r--habitat/plan.ps16
1 files changed, 6 insertions, 0 deletions
diff --git a/habitat/plan.ps1 b/habitat/plan.ps1
index 3212b34e44..c6505cfbf9 100644
--- a/habitat/plan.ps1
+++ b/habitat/plan.ps1
@@ -135,6 +135,12 @@ function Invoke-Install {
foreach($gem in ("chef-bin", "chef", "inspec-core-bin", "ohai")) {
Write-BuildLine "** generating binstubs for $gem with precise version pins"
+ Write-Output " *** Looking for App Bundler *** "
+ $output = Get-ChildItem -Path C:\ -file "appbundler.bat" -Recurse -ErrorAction SilentlyContinue
+ Write-Output "Found it here :"
+ Foreach($path in $output){
+ Write-Output $path
+ }
appbundler.bat "${HAB_CACHE_SRC_PATH}/${pkg_dirname}" $pkg_prefix/bin $gem
if (-not $?) { throw "Failed to create appbundled binstubs for $gem"}
}