diff options
| author | larsmoil | 2010-09-29 22:56:20 +0200 |
|---|---|---|
| committer | Adam Vandenberg | 2010-09-29 21:13:42 -0700 |
| commit | b56ff28c9740c6e9cf38b9901890ea4c39505f76 (patch) | |
| tree | caadeec64cc9b7fc057f56550d6b37d470d0f051 /Library/Formula | |
| parent | 4e0189e4add9f2a96cd24e815606a8d09b90b5c9 (diff) | |
| download | homebrew-b56ff28c9740c6e9cf38b9901890ea4c39505f76.tar.bz2 | |
groovy: install jars in libexec to avoid conflicts
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/groovy.rb | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Library/Formula/groovy.rb b/Library/Formula/groovy.rb index bc2bc8e0d..8552324e4 100644 --- a/Library/Formula/groovy.rb +++ b/Library/Formula/groovy.rb @@ -7,6 +7,14 @@ class Groovy <Formula def install rm_f Dir["bin/*.bat"] - prefix.install %w[bin conf lib] + + prefix.install %w{ LICENSE.txt NOTICE.txt } + libexec.install %w[bin conf lib] + + bin.mkpath + Dir["#{libexec}/bin/*"].each do |f| + next unless File.extname(f).empty? + ln_s f, bin+File.basename(f) + end end end |
