aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2022-10-25 09:48:35 +0100
committerfanquake <fanquake@gmail.com>2023-01-16 11:00:02 +0000
commit53fd827883f9649f091999b59b0d916e0199c796 (patch)
treeb7eaa0ab73f6a9a65f543c1d4ad8e04b492e7e59
parent6a5bb10da9d4ea87d94089ca260d278da9b889c0 (diff)
ci: Make `getopt` path architecture agnostic
Github-Pull: #26388 Rebased-From: 702836530ffa351e863b1b1300fd2e559a14ef23
-rwxr-xr-xci/test/04_install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/test/04_install.sh b/ci/test/04_install.sh
index e409df62eb..2ee5868b40 100755
--- a/ci/test/04_install.sh
+++ b/ci/test/04_install.sh
@@ -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