From fbd10e88659db529a67aaf8d1f0bb196cb2f476f Mon Sep 17 00:00:00 2001 From: Paulchen Panther <16664240+Paulchen-Panther@users.noreply.github.com> Date: Sun, 20 Dec 2020 13:59:49 +0100 Subject: [PATCH] [Hotfix] MacOS CI build --- .ci/ci_install.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.ci/ci_install.sh b/.ci/ci_install.sh index 1b262034..35b85104 100755 --- a/.ci/ci_install.sh +++ b/.ci/ci_install.sh @@ -19,12 +19,15 @@ function installAndUpgrade() arr=("$@") for i in "${arr[@]}"; do - list_output=`brew list | grep $i` + list_output=`brew list --formula | grep $i` outdated_output=`brew outdated | grep $i` if [[ ! -z "$list_output" ]]; then if [[ ! -z "$outdated_output" ]]; then + echo "Outdated package: ${outdated_output}" + brew unlink ${outdated_output} brew upgrade $i + brew link --overwrite $i fi else brew install $i