jruby: drop unnecessary loop

master
Jack Nagel 2014-04-17 09:45:57 -05:00
parent e03c876a1b
commit e5485dc95c
1 changed files with 1 additions and 6 deletions

View File

@ -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