From 657e0936e82706435580dd12b29698cbe610b57d Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Sat, 9 Apr 2022 21:46:00 +0530 Subject: [PATCH] Patch brew on every run --- src/scripts/darwin.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/darwin.sh b/src/scripts/darwin.sh index 59a97e28e..8eb5b969f 100644 --- a/src/scripts/darwin.sh +++ b/src/scripts/darwin.sh @@ -157,9 +157,9 @@ update_dependencies_helper() { # Function to update dependencies. update_dependencies() { + patch_brew if ! [ -e /tmp/update_dependencies ]; then if [ "${runner:?}" != "self-hosted" ] && [ "${ImageOS:-}" != "" ] && [ "${ImageVersion:-}" != "" ]; then - patch_brew while read -r dependency; do update_dependencies_helper "$dependency" & to_wait+=($!)