diff options
| author | Adam Vandenberg | 2012-02-12 11:40:53 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2012-02-12 20:08:57 -0800 |
| commit | 45775e79554f55f3863e3449b46ab5cb6fde2694 (patch) | |
| tree | 107ea133c54f2fd2760dba4187adbc86855dce4b /Library | |
| parent | 5fa2431a05ca6ddbe7ca2e6bdcbdd8682e00a5cf (diff) | |
| download | homebrew-45775e79554f55f3863e3449b46ab5cb6fde2694.tar.bz2 | |
gant: use install_symlink
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/gant.rb | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/Library/Formula/gant.rb b/Library/Formula/gant.rb index 15997abca..a3225046d 100644 --- a/Library/Formula/gant.rb +++ b/Library/Formula/gant.rb @@ -1,9 +1,9 @@ require 'formula' class Gant < Formula + homepage 'http://gant.codehaus.org/' url 'http://dist.codehaus.org/gant/distributions/gant-1.9.5-_groovy-1.8.0.tgz' version '1.9.5' - homepage 'http://gant.codehaus.org/' md5 '2ea01f1a4c803fd88e15fe2d8290e969' depends_on 'groovy' @@ -12,10 +12,6 @@ class Gant < Formula rm_f Dir["bin/*.bat"] # gant-starter.conf is found relative to bin libexec.install %w[bin lib conf] - bin.mkpath - Dir["#{libexec}/bin/*"].each do |f| - next unless File.extname(f).empty? - ln_s f, bin+File.basename(f) - end + bin.install_symlink "#{libexec}/bin/gant" end end |
