aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2012-02-12 14:35:56 -0800
committerAdam Vandenberg2012-02-12 20:08:59 -0800
commit24545225aceb2fb5e39ee2939d514df101b4bc68 (patch)
tree22a2da302a09ee7d0f567a4aeaf6e2bd67c1ce4a /Library
parent4f87a49c3a31e11b47251789eb69f804f76c9401 (diff)
downloadhomebrew-24545225aceb2fb5e39ee2939d514df101b4bc68.tar.bz2
jruby: use install_symlink
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/jruby.rb8
1 files changed, 2 insertions, 6 deletions
diff --git a/Library/Formula/jruby.rb b/Library/Formula/jruby.rb
index 34de5b021..24e5d5ee9 100644
--- a/Library/Formula/jruby.rb
+++ b/Library/Formula/jruby.rb
@@ -23,12 +23,8 @@ class Jruby < Formula
end
end
- (prefix+'jruby').install Dir['*']
-
- bin.mkpath
- Dir["#{prefix}/jruby/bin/*"].each do |f|
- ln_s f, bin+File.basename(f)
- end
+ libexec.install Dir['*']
+ bin.install_symlink Dir["#{libexec}/bin/*"]
end
def test