From 0bc2f7ce96010e3b3ee2db3ba627178541601078 Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Thu, 14 Oct 2021 20:57:18 +0530 Subject: [PATCH] Revert "Fix macOS patch to allow link libraries" This reverts commit e2e76ea34f2059c0d66bf5c54ea75610185397f3. --- src/scripts/darwin.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scripts/darwin.sh b/src/scripts/darwin.sh index 266bd048..bea6a0bd 100644 --- a/src/scripts/darwin.sh +++ b/src/scripts/darwin.sh @@ -132,7 +132,7 @@ patch_brew() { # Helper function to update the dependencies. update_dependencies_helper() { dependency=$1 - # get -q -n "$tap_dir/homebrew/homebrew-core/Formula/$dependency.rb" "https://raw.githubusercontent.com/Homebrew/homebrew-core/master/Formula/$dependency.rb" + get -q -n "$tap_dir/homebrew/homebrew-core/Formula/$dependency.rb" "https://raw.githubusercontent.com/Homebrew/homebrew-core/master/Formula/$dependency.rb" link_libraries "$dependency" } @@ -145,7 +145,7 @@ update_dependencies() { ( cd "$tap_dir/homebrew/homebrew-core" || true git add . && git stash && git pull origin master - ) >/dev/null 2>&1 + ) >/dev/null 2>&1 && return while read -r dependency; do update_dependencies_helper "$dependency" &