diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-04-16 09:23:50 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-04-16 09:23:50 +0000 |
commit | e0e479fbc58e18e323c9a57bb16773b7a1e8cb50 (patch) | |
tree | 2e4c8d9272f2f6c5224c5e055210aa9d756dbe84 /spec/default.mspec | |
parent | f2979f3101a0cb1467971ea3b4794c19c6b639dd (diff) | |
download | ruby-e0e479fbc58e18e323c9a57bb16773b7a1e8cb50.tar.gz |
* spec/default.mspec: expand relative path for ruby_exe which uses
them with Dir.chdir; it breaks relative paths, for example
core/kernel/exec_spec.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec/default.mspec')
-rw-r--r-- | spec/default.mspec | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/default.mspec b/spec/default.mspec index a23df2f25a..c4b75f614a 100644 --- a/spec/default.mspec +++ b/spec/default.mspec @@ -13,9 +13,9 @@ class MSpecScript set :target, File.join(builddir, "miniruby#{config['exeext']}") set :prefix, File.expand_path('rubyspec', File.dirname(__FILE__)) set :flags, %W[ - -I#{srcdir}/lib - -I#{srcdir}/#{config['EXTOUT']}/common - -I#{srcdir}/- - #{srcdir}/tool/runruby.rb --extout=#{config['EXTOUT']} + -I#{File.expand_path srcdir}/lib + -I#{File.expand_path srcdir}/#{config['EXTOUT']}/common + -I#{File.expand_path srcdir}/- + #{File.expand_path srcdir}/tool/runruby.rb --archdir=#{Dir.pwd} --extout=#{config['EXTOUT']} ] end |