aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/hadoop.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/Library/Formula/hadoop.rb b/Library/Formula/hadoop.rb
index a2aae55f0..1677c0e2c 100644
--- a/Library/Formula/hadoop.rb
+++ b/Library/Formula/hadoop.rb
@@ -1,9 +1,9 @@
-require 'formula'
+require "formula"
class Hadoop < Formula
- homepage 'http://hadoop.apache.org/'
- url 'http://www.apache.org/dyn/closer.cgi?path=hadoop/common/hadoop-2.4.0/hadoop-2.4.0.tar.gz'
- sha1 'fc94bb5cb6c50a09fd9fd3ed5e134893ccdf1dbe'
+ homepage "http://hadoop.apache.org/"
+ url "http://www.apache.org/dyn/closer.cgi?path=hadoop/common/hadoop-2.4.1/hadoop-2.4.1.tar.gz"
+ sha1 "bec3d911fd0b84cd4a7130fb212125c7ae51e878"
def install
rm_f Dir["bin/*.cmd", "sbin/*.cmd", "libexec/*.cmd", "etc/hadoop/*.cmd"]
@@ -11,7 +11,7 @@ class Hadoop < Formula
bin.write_exec_script Dir["#{libexec}/bin/*"]
sbin.write_exec_script Dir["#{libexec}/sbin/*"]
# But don't make rcc visible, it conflicts with Qt
- (bin/'rcc').unlink
+ (bin/"rcc").unlink
inreplace "#{libexec}/etc/hadoop/hadoop-env.sh",
"export JAVA_HOME=${JAVA_HOME}",