aboutsummaryrefslogtreecommitdiff
path: root/ci/test/01_base_install.sh
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2023-10-12 16:21:09 +0100
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2023-10-13 10:37:34 +0100
commitb705bade44973e61655d5f847f49d97fb5bb8393 (patch)
tree09a18d8dd3049f316df5e1bbe68253e928d65762 /ci/test/01_base_install.sh
parent1c2132ddd97dbf8fc908b0d1113bbb70e1a6a64e (diff)
downloadbitcoin-b705bade44973e61655d5f847f49d97fb5bb8393.tar.xz
ci: Export `IN_GETOPT_BIN` on macOS
This variable is required for the `retry` script.
Diffstat (limited to 'ci/test/01_base_install.sh')
-rwxr-xr-xci/test/01_base_install.sh9
1 files changed, 2 insertions, 7 deletions
diff --git a/ci/test/01_base_install.sh b/ci/test/01_base_install.sh
index e11936fae8..a0b054ab40 100755
--- a/ci/test/01_base_install.sh
+++ b/ci/test/01_base_install.sh
@@ -31,13 +31,8 @@ elif [ "$CI_OS_NAME" != "macos" ]; then
fi
if [ -n "$PIP_PACKAGES" ]; then
- if [ "$CI_OS_NAME" == "macos" ]; then
- # shellcheck disable=SC2086
- IN_GETOPT_BIN="$(brew --prefix gnu-getopt)/bin/getopt" ${CI_RETRY_EXE} pip3 install --user $PIP_PACKAGES
- else
- # shellcheck disable=SC2086
- ${CI_RETRY_EXE} pip3 install --user $PIP_PACKAGES
- fi
+ # shellcheck disable=SC2086
+ ${CI_RETRY_EXE} pip3 install --user $PIP_PACKAGES
fi
if [[ ${USE_MEMORY_SANITIZER} == "true" ]]; then