diff options
author | Benedikt Boehm <hollow@gentoo.org> | 2012-08-11 14:14:43 +0000 |
---|---|---|
committer | Benedikt Boehm <hollow@gentoo.org> | 2012-08-11 14:14:43 +0000 |
commit | 81db6f8930a68a1679bc385f928f6a82936b8f6b (patch) | |
tree | 0333c556f927ffc631c1cdbb1dddd35bcfef8342 /dev-ruby/ohai | |
parent | x86 stable, bug #418869 (diff) | |
download | gentoo-2-81db6f8930a68a1679bc385f928f6a82936b8f6b.tar.gz gentoo-2-81db6f8930a68a1679bc385f928f6a82936b8f6b.tar.bz2 gentoo-2-81db6f8930a68a1679bc385f928f6a82936b8f6b.zip |
update patch to prevent warning about RbConfig
(Portage version: 2.2.0_alpha110/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/ohai')
-rw-r--r-- | dev-ruby/ohai/ChangeLog | 6 | ||||
-rw-r--r-- | dev-ruby/ohai/files/ohai-6.14.0-multiple-ruby.patch | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/dev-ruby/ohai/ChangeLog b/dev-ruby/ohai/ChangeLog index 4b65b453a96e..3e97ef25e974 100644 --- a/dev-ruby/ohai/ChangeLog +++ b/dev-ruby/ohai/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-ruby/ohai # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ohai/ChangeLog,v 1.11 2012/08/11 09:14:47 hollow Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ohai/ChangeLog,v 1.12 2012/08/11 14:14:43 hollow Exp $ + + 11 Aug 2012; Benedikt Böhm <hollow@gentoo.org> + files/ohai-6.14.0-multiple-ruby.patch: + update patch to prevent warning about RbConfig *ohai-6.14.0 (11 Aug 2012) diff --git a/dev-ruby/ohai/files/ohai-6.14.0-multiple-ruby.patch b/dev-ruby/ohai/files/ohai-6.14.0-multiple-ruby.patch index 1206fb33c674..6b69d4f85253 100644 --- a/dev-ruby/ohai/files/ohai-6.14.0-multiple-ruby.patch +++ b/dev-ruby/ohai/files/ohai-6.14.0-multiple-ruby.patch @@ -10,7 +10,7 @@ index a54de8e..67591d0 100644 def run_ruby(command) - cmd = "ruby -e \"require 'rbconfig'; #{command}\"" -+ ruby = ::File.join(::Config::CONFIG['bindir'], ::Config::CONFIG['ruby_install_name']) ++ ruby = ::File.join(::RbConfig::CONFIG['bindir'], ::RbConfig::CONFIG['ruby_install_name']) + cmd = %{#{ruby} -e "require 'rbconfig'; #{command}"} status, stdout, stderr = run_command(:no_status_check => true, :command => cmd) stdout.strip |