aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/bash.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/bash.rb')
-rw-r--r--Library/Formula/bash.rb11
1 files changed, 6 insertions, 5 deletions
diff --git a/Library/Formula/bash.rb b/Library/Formula/bash.rb
index b3b52ba7a..436531f1a 100644
--- a/Library/Formula/bash.rb
+++ b/Library/Formula/bash.rb
@@ -1,18 +1,19 @@
require 'formula'
-class Bash <Formula
- url 'http://ftp.gnu.org/gnu/bash/bash-4.1.tar.gz'
+class Bash < Formula
+ url 'http://ftp.gnu.org/gnu/bash/bash-4.2.tar.gz'
homepage 'http://www.gnu.org/software/bash/'
- sha1 '3bd1ec9c66f3689f6b3495bdaaf9077b2e5dc150'
- version '4.1.9'
+ sha1 '487840ab7134eb7901fbb2e49b0ee3d22de15cb8'
+ version '4.2.7'
depends_on 'readline'
def patches
patch_level = version.split('.').last.to_i
- {'p0' => (1..patch_level).map { |i| "http://ftp.gnu.org/gnu/bash/bash-4.1-patches/bash41-%03d" % i }}
+ {'p0' => (1..patch_level).map { |i| "http://ftp.gnu.org/gnu/bash/bash-4.2-patches/bash42-%03d" % i }}
end
+
def install
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
system "make install"