From f926273ca63435a85a15fef46976e3caab914837 Mon Sep 17 00:00:00 2001 From: phstudy Date: Thu, 6 Sep 2012 03:24:33 +0800 Subject: [PATCH] glassfish 3.1.2.2 Closes Homebrew/homebrew#14744. Signed-off-by: Adam Vandenberg --- Formula/glassfish.rb | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/Formula/glassfish.rb b/Formula/glassfish.rb index 1bb536e8bf..53c55ccafd 100644 --- a/Formula/glassfish.rb +++ b/Formula/glassfish.rb @@ -1,17 +1,19 @@ require 'formula' class Glassfish < Formula - homepage 'http://glassfish.org/' - url 'http://download.java.net/glassfish/3.1.2/release/glassfish-3.1.2.zip' - sha1 '9e111bbd7791b63ae37220641867b47851a636d5' + homepage 'http://glassfish.java.net/' + url 'http://download.java.net/glassfish/3.1.2.2/release/glassfish-3.1.2.2.zip' + sha1 '627e67d7e7f06583beb284c56f76456913461722' - skip_clean :all + # To keep empty folders around + skip_clean 'libexec' def install rm_rf Dir['bin/*.bat'] - libexec.install Dir['*'] - bin.install_symlink Dir["#{libexec}/bin/*"] + libexec.install Dir["*"] + libexec.install Dir[".org.opensolaris,pkg"] + bin.write_exec_script Dir["#{libexec}/bin/*"] inreplace "#{libexec}/bin/asadmin" do |s| s.change_make_var! 'AS_INSTALL', "#{libexec}/glassfish"