From c350f65e2b9891e5db196292b344a67b3010caf3 Mon Sep 17 00:00:00 2001 From: Daniel Weindl Date: Wed, 20 Dec 2023 10:26:25 +0100 Subject: [PATCH] GHA: Fix install_deps.sh (#1262) Fixes `.github/workflows/install_deps.sh: 13: [: Linux: unexpected operator` https://github.com/ICB-DCM/pyPESTO/actions/runs/7265048086/job/19793906617 --- .github/workflows/install_deps.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/install_deps.sh b/.github/workflows/install_deps.sh index 475ad5a5e..f5c8b2027 100755 --- a/.github/workflows/install_deps.sh +++ b/.github/workflows/install_deps.sh @@ -10,7 +10,7 @@ pip install wheel setuptools pip install tox # Update package lists -if [ "$(uname)" == "Darwin" ]; then +if [ "$(uname)" = "Darwin" ]; then # MacOS : else @@ -28,7 +28,7 @@ for par in "$@"; do amici) # for amici - if [ "$(uname)" == "Darwin" ]; then + if [ "$(uname)" = "Darwin" ]; then brew install swig hdf5 libomp else sudo apt-get install \