aboutsummaryrefslogtreecommitdiff
path: root/ci/test
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2022-10-25 09:48:35 +0100
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2022-10-25 09:49:07 +0100
commit702836530ffa351e863b1b1300fd2e559a14ef23 (patch)
treeada8d4e71805f4e17f84fdc94d98d24745560e55 /ci/test
parentbfce05cc341113a1e7c685950b175dee3aaf2354 (diff)
downloadbitcoin-702836530ffa351e863b1b1300fd2e559a14ef23.tar.xz
ci: Make `getopt` path architecture agnostic
Diffstat (limited to 'ci/test')
-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 b256ae21a5..a4f1a8a7ff 100755
--- a/ci/test/04_install.sh
+++ b/ci/test/04_install.sh
@@ -78,7 +78,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