diff options
| author | Theo | 2009-12-18 18:58:40 +0100 |
|---|---|---|
| committer | Theo | 2009-12-18 18:58:40 +0100 |
| commit | e927c71603a9633e07ace37606fef6024a90b5ce (patch) | |
| tree | b699392178fb02d8e4b589bd333e4db384dba780 /Library/Formula | |
| parent | 7a880ce379038404286e9395ad99d692df9267a6 (diff) | |
| download | homebrew-e927c71603a9633e07ace37606fef6024a90b5ce.tar.bz2 | |
Fixed JRuby formula: no compilation & less crud
There's no need to build JRuby, it's already compiled out of the box.
The code that cleaned out non-darwin native libraries was broken, but no more.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/jruby.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Formula/jruby.rb b/Library/Formula/jruby.rb index 659be9fd7..17a5a1e7a 100644 --- a/Library/Formula/jruby.rb +++ b/Library/Formula/jruby.rb @@ -9,10 +9,10 @@ class Jruby < Formula md5 'a363b6c2ea24f0ef8df478c93ac8cc59' def install - system "ant" - Dir.chdir 'bin' do FileUtils.rm Dir['*.bat'] + FileUtils.rm Dir['*.exe'] + FileUtils.rm Dir['*.dll'] Dir['*'].each do |file| FileUtils.mv file, "j#{file}" unless file.match /^[j_]/ end @@ -21,7 +21,7 @@ class Jruby < Formula # Only keep the MacOSX native libraries Dir.chdir 'lib/native' do Dir['*'].each do |file| - FileUtils.rm_f file unless file == 'darwin' + FileUtils.rm_rf file unless file == 'darwin' end end |
