[packages/vagrant] fix path to internal .rb

glen glen at pld-linux.org
Thu Mar 13 08:50:36 CET 2014


commit 9f73fa34291cb8db53220be5515181620fa943dd
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Mar 13 09:50:33 2014 +0200

    fix path to internal .rb

 source_root.patch | 11 +++++++++++
 1 file changed, 11 insertions(+)
---
diff --git a/source_root.patch b/source_root.patch
index f64fad2..76ecc70 100644
--- a/source_root.patch
+++ b/source_root.patch
@@ -8,3 +8,14 @@
      @source_root ||= Pathname.new(File.expand_path('../../../', __FILE__))
    end
  
+--- ./bin/vagrant~	2014-03-13 07:24:35.000000000 +0200
++++ ./bin/vagrant	2014-03-13 09:48:05.406002464 +0200
+@@ -42,7 +42,7 @@
+   ruby_path = File.join(RbConfig::CONFIG["bindir"], RbConfig::CONFIG["ruby_install_name"])
+   Kernel.exec(
+     ruby_path,
+-    File.expand_path("../../lib/vagrant/pre-rubygems.rb", __FILE__),
++    File.expand_path("/usr/share/ruby/vendor_ruby/1.9/vagrant/pre-rubygems.rb", __FILE__),
+     *ARGV)
+   raise "Fatal error: this line should never be reached"
+ end
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/vagrant.git/commitdiff/9f73fa34291cb8db53220be5515181620fa943dd



More information about the pld-cvs-commit mailing list