Revert "FreeBSD make uses the target under srcdir [ci skip]"
This reverts commit 751ffb276f658518c6fe06461a9d3d1c136c7d5d, which caused build failures on other platforms.
This commit is contained in:
parent
751ffb276f
commit
c50623f093
2
tool/ruby_vm/helpers/dumper.rb
Executable file → Normal file
2
tool/ruby_vm/helpers/dumper.rb
Executable file → Normal file
@ -28,7 +28,7 @@ class RubyVM::Dumper
|
|||||||
path = Pathname.new(__FILE__)
|
path = Pathname.new(__FILE__)
|
||||||
path = (path.relative_path_from(Pathname.pwd) rescue path).dirname
|
path = (path.relative_path_from(Pathname.pwd) rescue path).dirname
|
||||||
path += '../views'
|
path += '../views'
|
||||||
path += Pathname.pwd.join(File.basename(spec)).expand_path.to_s.sub("#{@base}/", '')
|
path += Pathname.pwd.join(spec).expand_path.to_s.sub("#{@base}/", '')
|
||||||
src = path.expand_path.read mode: 'rt:utf-8:utf-8'
|
src = path.expand_path.read mode: 'rt:utf-8:utf-8'
|
||||||
rescue Errno::ENOENT
|
rescue Errno::ENOENT
|
||||||
raise "don't know how to generate #{path}"
|
raise "don't know how to generate #{path}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user