diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-01-15 15:51:32 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-01-15 15:51:32 +0000 |
commit | 21435953e16cda318a82334ddbadb3b5c36d9ea7 (patch) | |
tree | e1810a4b135afce04b34862ef0fab2bfaeb8aeca /eclass/ruby-ng.eclass | |
parent | 7bc9c63c9da678a7e6fceb095d56c634afd22c56 (diff) |
gentoo resync : 15.01.2020
Diffstat (limited to 'eclass/ruby-ng.eclass')
-rw-r--r-- | eclass/ruby-ng.eclass | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/ruby-ng.eclass b/eclass/ruby-ng.eclass index db701d81f4fc..f92547b49a9f 100644 --- a/eclass/ruby-ng.eclass +++ b/eclass/ruby-ng.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: ruby-ng.eclass @@ -137,7 +137,7 @@ ruby_samelib() { local res= for _ruby_implementation in $(_ruby_get_all_impls); do has -${_ruby_implementation} $@ || \ - res="${res}ruby_targets_${_ruby_implementation}?," + res="${res}ruby_targets_${_ruby_implementation}(-)?," done echo "[${res%,}]" @@ -151,9 +151,9 @@ _ruby_atoms_samelib_generic() { "||" | "(" | ")" | *"?") echo "${token}" ;; *]) - echo "${token%[*}[RUBYTARGET,${token/*[}" ;; + echo "${token%[*}[RUBYTARGET(-),${token/*[}" ;; *) - echo "${token}[RUBYTARGET]" ;; + echo "${token}[RUBYTARGET(-)]" ;; esac done echo ")" |