diff options
| author | Jack Nagel | 2014-04-17 09:45:57 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-04-17 09:45:57 -0500 |
| commit | 438bb5f77126cc2ea23a68e9f656a39dbb17dc70 (patch) | |
| tree | 4c94d151afe4d9e2def84bc3423d3692c0845e41 | |
| parent | d8e2f8d7872f931126e988a65435d7897835fbcb (diff) | |
| download | homebrew-438bb5f77126cc2ea23a68e9f656a39dbb17dc70.tar.bz2 | |
jruby: drop unnecessary loop
| -rw-r--r-- | Library/Formula/jruby.rb | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/Library/Formula/jruby.rb b/Library/Formula/jruby.rb index c01304558..d5c09801a 100644 --- a/Library/Formula/jruby.rb +++ b/Library/Formula/jruby.rb @@ -19,12 +19,7 @@ class Jruby < Formula end # Only keep the OS X native libraries - cd 'lib/jni' do - Dir['*'].each do |file| - rm_rf file unless file.downcase == 'darwin' - end - end - + rm_rf Dir["lib/jni/*"] - ["lib/jni/Darwin"] libexec.install Dir['*'] bin.install_symlink Dir["#{libexec}/bin/*"] end |
