aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2022-10-25 09:48:35 +0100
committerMarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>2023-01-12 11:52:48 +0100
commit50ad39d9d049d99ecce8a41553e0578950617265 (patch)
tree244998f1016b060430c02027b39803999f61590c
parentce2a072ba846cc497b9823c6359e7230a268e137 (diff)
downloadbitcoin-50ad39d9d049d99ecce8a41553e0578950617265.tar.xz
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 ccb944145a..ba05eb631f 100755
--- a/ci/test/04_install.sh
+++ b/ci/test/04_install.sh
@@ -70,7 +70,7 @@ if [ -n "$PIP_PACKAGES" ]; then
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
else
# shellcheck disable=SC2086
${CI_RETRY_EXE} CI_EXEC pip3 install --user $PIP_PACKAGES