diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2010-07-30 17:28:53 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2010-07-30 17:28:53 +0000 |
commit | 97eae473a0c54c59172e4a57cb5c4383068872ec (patch) | |
tree | af832ad99676c891999eccc7d03ab7e3e279e5fe /eclass/ruby-ng.eclass | |
parent | Old. (diff) | |
download | gentoo-2-97eae473a0c54c59172e4a57cb5c4383068872ec.tar.gz gentoo-2-97eae473a0c54c59172e4a57cb5c4383068872ec.tar.bz2 gentoo-2-97eae473a0c54c59172e4a57cb5c4383068872ec.zip |
Ignore basename errors, they happen with JRuby since it lacks a soname.
Diffstat (limited to 'eclass/ruby-ng.eclass')
-rw-r--r-- | eclass/ruby-ng.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/ruby-ng.eclass b/eclass/ruby-ng.eclass index d3ad898b3526..f1f324e6aae7 100644 --- a/eclass/ruby-ng.eclass +++ b/eclass/ruby-ng.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng.eclass,v 1.24 2010/07/30 16:56:21 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng.eclass,v 1.25 2010/07/30 17:28:53 flameeyes Exp $ # # @ECLASS: ruby-ng.eclass # @MAINTAINER: @@ -398,7 +398,7 @@ _each_ruby_check_install() { has "${EAPI}" 2 && ! use prefix && EPREFIX= local libruby_basename=$(${RUBY} -rrbconfig -e 'puts Config::CONFIG["LIBRUBY_SO"]') - local libruby_soname=$(basename $(${scancmd} -F "%S#F" -qS "${EPREFIX}/usr/$(get_libdir)/${libruby_basename}")) + local libruby_soname=$(basename $(${scancmd} -F "%S#F" -qS "${EPREFIX}/usr/$(get_libdir)/${libruby_basename}") 2>/dev/null) local sitedir=$(${RUBY} -rrbconfig -e 'puts Config::CONFIG["sitedir"]') local sitelibdir=$(${RUBY} -rrbconfig -e 'puts Config::CONFIG["sitelibdir"]') |