diff --git a/.github/workflows/test_functional.yml b/.github/workflows/test_functional.yml index 7cfc19dd24c..caecc089379 100644 --- a/.github/workflows/test_functional.yml +++ b/.github/workflows/test_functional.yml @@ -119,12 +119,12 @@ jobs: "/usr/local/opt/gnu-sed/libexec/gnubin" \ >> "${GITHUB_PATH}" echo \ - "/usr/local/opt/grep/libexec/gnubin" \ + "$(brew --prefix)/opt/grep/libexec/gnubin" \ >> "${GITHUB_PATH}" # add coreutils to the bashrc too (for jobs) cat >> "${HOME}/.bashrc" <<__HERE__ - PATH="/usr/local/opt/grep/libexec/gnubin:$(brew --prefix)/opt/coreutils/libexec/gnubin:/usr/local/opt/gnu-sed/libexec/gnubin:$PATH" + PATH="$(brew --prefix)/opt/grep/libexec/gnubin:$(brew --prefix)/opt/coreutils/libexec/gnubin:/usr/local/opt/gnu-sed/libexec/gnubin:$PATH" export PATH __HERE__