ruby-ng.eclass: remove commented-out code
authorHans de Graaff <graaff@gentoo.org>
Wed, 18 Jul 2018 06:43:46 +0000 (08:43 +0200)
committerHans de Graaff <graaff@gentoo.org>
Thu, 18 Jul 2019 07:31:36 +0000 (09:31 +0200)
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
eclass/ruby-ng.eclass

index 21cbc5d995956291332b268d340ccb6af4e9b0a4..90c36cd86e4023003eaf532c41b16ab448920777 100644 (file)
@@ -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