ruby.sh: fix if statement
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
93ed7646b0
commit
84b0cbf352
@ -17,7 +17,7 @@ test_ruby() {
|
||||
# HOMEBREW_PATH is set by global.rb
|
||||
# shellcheck disable=SC2154
|
||||
find_ruby() {
|
||||
if [[ -n "${HOMEBREW_MACOS}" && -n "${HOMEBREW_USE_RUBY_FROM_PATH}" ]]
|
||||
if [[ -n "${HOMEBREW_MACOS}" && -z "${HOMEBREW_USE_RUBY_FROM_PATH}" ]]
|
||||
then
|
||||
echo "/System/Library/Frameworks/Ruby.framework/Versions/Current/usr/bin/ruby"
|
||||
else
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user