From 7530965eb248e50c45e41e7a054a8f6c6c54a18f Mon Sep 17 00:00:00 2001 From: John McCrae Date: Thu, 5 May 2022 09:23:48 +0600 Subject: Updated the recipe to remove Git completely before updating it. Signed-off-by: John McCrae --- kitchen-tests/cookbooks/end_to_end/recipes/macos.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kitchen-tests') diff --git a/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb b/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb index 0b6759e711..923a8448d0 100644 --- a/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb +++ b/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb @@ -69,7 +69,7 @@ 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 - "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" end include_recipe "git" -- cgit v1.2.1