jruby: drop unnecessary loop
This commit is contained in:
parent
e03c876a1b
commit
e5485dc95c
1 changed files with 1 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue