summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-06-16 18:44:28 +0100
committerSam James <sam@gentoo.org>2023-06-16 18:44:28 +0100
commita95521f59ce3ec40bf4ed01a27655aa2ae409a59 (patch)
treeb39d4097b0912af5a56d0f3d0608fe686473dda5
parentdev-ruby/rake: revbump to propagate ruby-fakegem fix (diff)
downloadgentoo-a95521f59ce3ec40bf4ed01a27655aa2ae409a59.tar.gz
gentoo-a95521f59ce3ec40bf4ed01a27655aa2ae409a59.tar.bz2
gentoo-a95521f59ce3ec40bf4ed01a27655aa2ae409a59.zip
ruby-single.eclass: add missing 'local'
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--eclass/ruby-single.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/ruby-single.eclass b/eclass/ruby-single.eclass
index 5f6cf9e46dce..effdbd3e96a0 100644
--- a/eclass/ruby-single.eclass
+++ b/eclass/ruby-single.eclass
@@ -69,11 +69,11 @@ inherit ruby-utils
# current state of ruby targets, e.g. stable version first.
_ruby_single_implementations_depend() {
- local depend
+ local _ruby_implementation depend
for _ruby_implementation in ${RUBY_TARGETS_PREFERENCE}; do
if [[ ${USE_RUBY} =~ ${_ruby_implementation} ]]; then
depend+=" ("
- depend+=" $(_ruby_implementation_depend $_ruby_implementation)"
+ depend+=" $(_ruby_implementation_depend ${_ruby_implementation})"
depend+=" virtual/rubygems[ruby_targets_${_ruby_implementation}(-)]"
depend+=" )"
fi