Skip to content

Commit 7028365

Browse files
committed
ci: Make getopt path architecture agnostic
1 parent bfce05c commit 7028365

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/test/04_install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ if [ -n "$PIP_PACKAGES" ]; then
7878
if [ "$CI_OS_NAME" == "macos" ]; then
7979
sudo -H pip3 install --upgrade pip
8080
# shellcheck disable=SC2086
81-
IN_GETOPT_BIN="/usr/local/opt/gnu-getopt/bin/getopt" ${CI_RETRY_EXE} pip3 install --user $PIP_PACKAGES
81+
IN_GETOPT_BIN="$(brew --prefix gnu-getopt)/bin/getopt" ${CI_RETRY_EXE} pip3 install --user $PIP_PACKAGES
8282
else
8383
# shellcheck disable=SC2086
8484
${CI_RETRY_EXE} CI_EXEC pip3 install --user $PIP_PACKAGES

0 commit comments

Comments
 (0)