Merge pull request #12504 from Bo98/ruby-branch-fix

utils/ruby.sh: fix error with older Bash
This commit is contained in:
Mike McQuaid 2021-12-02 08:51:21 +00:00 committed by GitHub
commit 073c4177b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,7 +31,7 @@ find_ruby() {
fi fi
done < <( done < <(
# function which() is set by brew.sh # function which() is set by brew.sh
# it's aliased to `type -P` # it is aliased to `type -P`
# shellcheck disable=SC2230 # shellcheck disable=SC2230
which -a ruby which -a ruby
# shellcheck disable=SC2230 # shellcheck disable=SC2230