commit:     7cb455f490e515e196fe3ad607a37732dd6132c0
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 18 06:43:46 2018 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Thu Jul 18 07:31:36 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cb455f4

ruby-ng.eclass: remove commented-out code

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 eclass/ruby-ng.eclass | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/eclass/ruby-ng.eclass b/eclass/ruby-ng.eclass
index 21cbc5d9959..90c36cd86e4 100644
--- a/eclass/ruby-ng.eclass
+++ b/eclass/ruby-ng.eclass
@@ -531,16 +531,6 @@ _each_ruby_check_install() {
        local sitedir=$(${RUBY} -rrbconfig -e 'puts 
RbConfig::CONFIG["sitedir"]')
        local sitelibdir=$(${RUBY} -rrbconfig -e 'puts 
RbConfig::CONFIG["sitelibdir"]')
 
-       # Look for wrong files in sitedir
-       # if [[ -d "${D}${sitedir}" ]]; then
-       #       local f=$(find "${D}${sitedir}" -mindepth 1 -maxdepth 1 -not 
-wholename "${D}${sitelibdir}")
-       #       if [[ -n ${f} ]]; then
-       #               eerror "Found files in sitedir, outsite sitelibdir:"
-       #               eerror "${f}"
-       #               die "Misplaced files in sitedir"
-       #       fi
-       # fi
-
        # The current implementation lacks libruby (i.e.: jruby)
        [[ -z ${libruby_soname} ]] && return 0
 

Reply via email to