Skip to content

Commit

Permalink
[Truffle] jt: remove unused find_jruby_bin_dir.
Browse files Browse the repository at this point in the history
  • Loading branch information
eregon committed Sep 21, 2016
1 parent 7ba2562 commit fd81849
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions tool/jt.rb
Expand Up @@ -158,16 +158,6 @@ def self.find_jruby
end
end

def self.find_jruby_bin_dir
if ENV['RUBY_BIN']
File.dirname(ENV['RUBY_BIN'])
elsif jruby_eclipse? or mx?
JRUBY_DIR + "/bin"
else
File.dirname(find_jruby)
end
end

def self.find_repo(name)
[JRUBY_DIR, "#{JRUBY_DIR}/.."].each do |dir|
found = Dir.glob("#{dir}/#{name}*").first
Expand Down

0 comments on commit fd81849

Please sign in to comment.