Merge updates from master

This commit is contained in:
Repository mirror & CI
2023-06-16 17:48:52 +00:00
2 changed files with 2 additions and 2 deletions

View File

@@ -400,10 +400,10 @@ ruby_fakegem_binwrapper() {
# in the shebang, and we can actually avoid errors when
# calling the script by default.
local rubycmd=
for implementation in $(_ruby_get_all_impls); do
for implementation in "${_RUBY_GET_ALL_IMPLS[@]}"; do
# ignore non-enabled implementations
use ruby_targets_${implementation} || continue
if [ -z $rubycmd ]; then
if [[ -z ${rubycmd} ]]; then
# if no other implementation was set before, set it.
rubycmd="$(ruby_implementation_command ${implementation})"
else