jruby: drop unnecessary loop

This commit is contained in:
Jack Nagel 2014-04-17 09:45:57 -05:00
parent e03c876a1b
commit e5485dc95c

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