diff options
| author | Adam Vandenberg | 2013-01-27 15:16:14 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2013-01-28 21:39:50 -0800 |
| commit | a212f2a970c8be5b87a3c1b5ca47516f866aa7c1 (patch) | |
| tree | b1f5b25787feef05eaf2ebc4181146e6045a5eff /Library | |
| parent | b038be7f7f0e264d23028689c19ad50890c504f9 (diff) | |
| download | homebrew-a212f2a970c8be5b87a3c1b5ca47516f866aa7c1.tar.bz2 | |
flume: style nits
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/flume.rb | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/Library/Formula/flume.rb b/Library/Formula/flume.rb index 0beb63ff5..418c1ada6 100644 --- a/Library/Formula/flume.rb +++ b/Library/Formula/flume.rb @@ -1,23 +1,22 @@ require 'formula' class Flume < Formula - url 'http://archive.cloudera.com/cdh/3/flume-0.9.4-cdh3u2.tar.gz' homepage 'https://github.com/cloudera/flume' - sha1 '9f68c8205b61e43d35467b6d45f815f5e41239e9' + url 'http://archive.cloudera.com/cdh/3/flume-0.9.4-cdh3u2.tar.gz' version "0.9.4-cdh3u2" + sha1 '9f68c8205b61e43d35467b6d45f815f5e41239e9' def flume_script - <<-EOS.undent + <<-EOS.undent #!/bin/bash export FLUME_CONF_DIR=${FLUME_CONF_DIR-#{libexec}/conf} exec #{libexec}/bin/flume "$@" - EOS + EOS end def install libexec.install %w[bin conf lib webapps] libexec.install Dir["*.jar"] - bin.mkpath - (bin+"flume").write flume_script() + (bin/"flume").write flume_script end end |
