summaryrefslogtreecommitdiff
path: root/eclass/ruby-fakegem.eclass
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-06-16 19:42:08 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-06-16 19:42:08 +0100
commitdada2d5b0b1d7e87f9c3ebe4b31ca9b4f4b2ed62 (patch)
tree13f8ae66d8cf83c150ffe3bb20472348b9f65b09 /eclass/ruby-fakegem.eclass
parentbc501129c389446f47e98f759f8bb140966240af (diff)
gentoo auto-resync : 16:06:2023 - 19:42:08
Diffstat (limited to 'eclass/ruby-fakegem.eclass')
-rw-r--r--eclass/ruby-fakegem.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/ruby-fakegem.eclass b/eclass/ruby-fakegem.eclass
index 77d2163e06fd..db3db300c023 100644
--- a/eclass/ruby-fakegem.eclass
+++ b/eclass/ruby-fakegem.eclass
@@ -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