From 833c28f36ce84f7d476b198ae4828ed22f73dc58 Mon Sep 17 00:00:00 2001 From: John McCrae Date: Thu, 5 May 2022 15:48:26 +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(-) diff --git a/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb b/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb index 0bfc9d6b2d..dd41c2c7fe 100644 --- a/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb +++ b/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb @@ -76,7 +76,7 @@ end # We remove git completely to allow homebrew to update it. bash "remove git" do code <<~EOH - sudo chown -R $(whoami) $(brew --prefix)/* + chown -R $(whoami) $(brew --prefix)/* brew unlink git@2.35.1 --force EOH user "tempadmin" -- cgit v1.2.1