ci: Export IN_GETOPT_BIN on macOS

This variable is required for the `retry` script.
This commit is contained in:
Hennadii Stepanov committed 2023-10-13 10:37:34 +01:00
1 parent 1c2132ddd9
commit b705bade44
2 files changed
+7 -7

No files matched your search

+2 -7
View File
@@ -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