net-misc/mikutter: fix ruby use check
authorNaohiro Aota <naota@gentoo.org>
Thu, 16 Mar 2017 01:42:04 +0000 (10:42 +0900)
committerNaohiro Aota <naota@gentoo.org>
Thu, 16 Mar 2017 01:42:55 +0000 (10:42 +0900)
Package-Manager: Portage-2.3.4, Repoman-2.3.1

net-misc/mikutter/mikutter-3.5.4.ebuild

index 164529a88c31ab055632e1d1094bd0ed539349ea..74d6986e92766af794cc2ea092de5078ba236071 100644 (file)
@@ -62,10 +62,10 @@ all_ruby_unpack() {
 each_ruby_install() {
        local rubyversion
 
-       if use ruby_targets_ruby22; then
+       if use ruby_targets_ruby23; then
+               rubyversion=ruby23
+       elif use ruby_targets_ruby22; then
                rubyversion=ruby22
-       elif use ruby_targets_ruby21; then
-               rubyversion=ruby21
        fi
 
        exeinto /usr/share/mikutter