summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn McCrae <jmccrae@chf.io>2022-05-05 10:12:47 +0600
committerJohn McCrae <jmccrae@chf.io>2022-05-05 10:12:47 +0600
commit18983378eca98b97d05fa3d7ba00377f60e41601 (patch)
tree611469fc0062a14057402b408c99f4420b069289
parent7530965eb248e50c45e41e7a054a8f6c6c54a18f (diff)
downloadchef-18983378eca98b97d05fa3d7ba00377f60e41601.tar.gz
Updated the recipe to remove Git completely before updating it.
Signed-off-by: John McCrae <jmccrae@chf.io>
-rw-r--r--kitchen-tests/cookbooks/end_to_end/recipes/macos.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb b/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb
index 923a8448d0..37fe95b463 100644
--- a/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb
+++ b/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb
@@ -69,7 +69,8 @@ end
# We're overcoming a problem where Homebrew updating Git on MacOS throws a symlink error
# We remove git completely to allow homebrew to update it.
execute "remove git" do
- command "brew list --full-name | grep '^git@' | xargs -r brew uninstall --ignore-dependencies"
+ # command "brew list --full-name | grep '^git@' | xargs -r brew uninstall --ignore-dependencies"
+ command "brew uninstall git@2.35.1 --ignore-dependencies"
end
include_recipe "git"