ci: Make getopt path architecture agnostic

Github-Pull: #26388
Rebased-From: 702836530f
This commit is contained in:
Hennadii Stepanov 2022-10-25 09:48:35 +01:00 committed by fanquake
parent 6a5bb10da9
commit 53fd827883
No known key found for this signature in database
GPG key ID: 2EEB9F5CC09526C1

View file

@ -13,7 +13,7 @@ fi
if [ "$CI_OS_NAME" == "macos" ]; then
sudo -H pip3 install --upgrade pip
# shellcheck disable=SC2086
IN_GETOPT_BIN="/usr/local/opt/gnu-getopt/bin/getopt" ${CI_RETRY_EXE} pip3 install --user $PIP_PACKAGES
IN_GETOPT_BIN="$(brew --prefix gnu-getopt)/bin/getopt" ${CI_RETRY_EXE} pip3 install --user $PIP_PACKAGES
fi
# Create folders that are mounted into the docker