summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-05-13 12:18:38 +0200
committerMichał Górny <mgorny@gentoo.org>2017-05-15 15:28:00 +0200
commit29cc93987663a18fbce076d6432cb58671e4b772 (patch)
tree64d90529d21e7ea6f37bcf1372657f1eb84d173d /eclass/ruby-fakegem.eclass
parentdev-games/cegui: Added sub-slot dependency for dev-games/ogre (diff)
downloadgentoo-29cc93987663a18fbce076d6432cb58671e4b772.tar.gz
gentoo-29cc93987663a18fbce076d6432cb58671e4b772.tar.bz2
gentoo-29cc93987663a18fbce076d6432cb58671e4b772.zip
ruby-ng.eclass: Indirect USE_RUBY into a function
Diffstat (limited to 'eclass/ruby-fakegem.eclass')
-rw-r--r--eclass/ruby-fakegem.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/ruby-fakegem.eclass b/eclass/ruby-fakegem.eclass
index 230f55d7cfe2..3c10e577a411 100644
--- a/eclass/ruby-fakegem.eclass
+++ b/eclass/ruby-fakegem.eclass
@@ -336,7 +336,7 @@ ruby_fakegem_binwrapper() {
# calling the script by default (see for instance the
# JRuby-specific commands).
local rubycmd=
- for implementation in ${USE_RUBY}; do
+ for implementation in $(_ruby_get_all_impls); do
# ignore non-enabled implementations
use ruby_targets_${implementation} || continue
if [ -z $rubycmd ]; then