aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJoep Loijens2014-07-17 10:50:39 +0200
committerMike McQuaid2014-07-17 12:51:40 -0700
commita20feb2db46050b802bb8961966111711323bed9 (patch)
treecaa93beca6f83a860ac326ddb6c8815ab1b7e8d6 /Library
parenta252214738599120551262afe4137152cc28dbb9 (diff)
downloadhomebrew-a20feb2db46050b802bb8961966111711323bed9.tar.bz2
hadoop 2.4.1
Closes #30910. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
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}",