File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -31,13 +31,8 @@ elif [ "$CI_OS_NAME" != "macos" ]; then
31
31
fi
32
32
33
33
if [ -n " $PIP_PACKAGES " ]; then
34
- if [ " $CI_OS_NAME " == " macos" ]; then
35
- # shellcheck disable=SC2086
36
- IN_GETOPT_BIN=" $( brew --prefix gnu-getopt) /bin/getopt" ${CI_RETRY_EXE} pip3 install --user $PIP_PACKAGES
37
- else
38
- # shellcheck disable=SC2086
39
- ${CI_RETRY_EXE} pip3 install --user $PIP_PACKAGES
40
- fi
34
+ # shellcheck disable=SC2086
35
+ ${CI_RETRY_EXE} pip3 install --user $PIP_PACKAGES
41
36
fi
42
37
43
38
if [[ ${USE_MEMORY_SANITIZER} == " true" ]]; then
Original file line number Diff line number Diff line change 54
54
mkdir -p " ${PREVIOUS_RELEASES_DIR} "
55
55
fi
56
56
57
+ if [ " $CI_OS_NAME " == " macos" ]; then
58
+ IN_GETOPT_BIN=" $( brew --prefix gnu-getopt) /bin/getopt"
59
+ export IN_GETOPT_BIN
60
+ fi
61
+
57
62
CI_EXEC () {
58
63
$CI_EXEC_CMD_PREFIX bash -c " export PATH=${BINS_SCRATCH_DIR} :${BASE_ROOT_DIR} /ci/retry:\$ PATH && cd \" ${BASE_ROOT_DIR} \" && $* "
59
64
}
You can’t perform that action at this time.
0 commit comments