diff options
author | John McCrae <jmccrae@chf.io> | 2022-05-05 09:23:48 +0600 |
---|---|---|
committer | John McCrae <jmccrae@chf.io> | 2022-05-05 09:23:48 +0600 |
commit | 7530965eb248e50c45e41e7a054a8f6c6c54a18f (patch) | |
tree | 6bf91f3a54db90d0af494bfbe9dbd81b5f130ed1 /kitchen-tests | |
parent | 3d4736e5c0758eca40abe8895b84d3bd606cf329 (diff) | |
download | chef-7530965eb248e50c45e41e7a054a8f6c6c54a18f.tar.gz |
Updated the recipe to remove Git completely before updating it.
Signed-off-by: John McCrae <jmccrae@chf.io>
Diffstat (limited to 'kitchen-tests')
-rw-r--r-- | kitchen-tests/cookbooks/end_to_end/recipes/macos.rb | 2 |
1 files changed, 1 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 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" |