From ad2966e41cb3b95d86cd21fc0734f06359fea784 Mon Sep 17 00:00:00 2001 From: Alex Dunn Date: Fri, 17 Apr 2015 21:51:03 -0700 Subject: zshdb 0.09 Closes #38779. Signed-off-by: Tim D. Smith --- Library/Formula/zshdb.rb | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'Library') diff --git a/Library/Formula/zshdb.rb b/Library/Formula/zshdb.rb index 004bd5b09..25e265c48 100644 --- a/Library/Formula/zshdb.rb +++ b/Library/Formula/zshdb.rb @@ -1,7 +1,7 @@ class Zshdb < Formula homepage "https://github.com/rocky/zshdb" - url "https://downloads.sourceforge.net/project/bashdb/zshdb/0.08/zshdb-0.08.tar.bz2" - sha1 "29f860d0130debe6a966ee1e12f2f3046c78897b" + url "https://downloads.sourceforge.net/project/bashdb/zshdb/0.9/zshdb-0.09.tar.bz2" + sha256 "3ad756485a5bfd014649f4ede15187d0cf070919d2ddb15b4ded61e8990e8d4f" head do url "https://github.com/rocky/zshdb.git" @@ -12,10 +12,7 @@ class Zshdb < Formula depends_on "zsh" def install - if build.head? - system "autoreconf", "-fvi" - system "autoconf" - end + system "./autogen.sh" if build.head? system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}", @@ -27,7 +24,7 @@ class Zshdb < Formula require "open3" Open3.popen3("#{bin}/zshdb -c 'echo test'") do |stdin, stdout, _| stdin.write "exit\n" - !!(stdout.read =~ /That's all, folks/) + assert_match(/That's all, folks/, stdout.read) end end end -- cgit v1.2.3