Skip to content

Commit

Permalink
GHA: Fix install_deps.sh (#1262)
Browse files Browse the repository at this point in the history
Fixes `.github/workflows/install_deps.sh: 13: [: Linux: unexpected operator`

https://github.com/ICB-DCM/pyPESTO/actions/runs/7265048086/job/19793906617
  • Loading branch information
dweindl authored Dec 20, 2023
1 parent b4b3ac4 commit c350f65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/install_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ pip install wheel setuptools
pip install tox

# Update package lists
if [ "$(uname)" == "Darwin" ]; then
if [ "$(uname)" = "Darwin" ]; then
# MacOS
:
else
Expand All @@ -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 \
Expand Down

0 comments on commit c350f65

Please sign in to comment.