From a20feb2db46050b802bb8961966111711323bed9 Mon Sep 17 00:00:00 2001 From: Joep Loijens Date: Thu, 17 Jul 2014 10:50:39 +0200 Subject: hadoop 2.4.1 Closes #30910. Signed-off-by: Mike McQuaid --- Library/Formula/hadoop.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Library') 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}", -- cgit v1.2.3