aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Dunn2015-04-17 21:51:03 -0700
committerTim D. Smith2015-04-17 22:34:33 -0700
commitad2966e41cb3b95d86cd21fc0734f06359fea784 (patch)
treef919e4b9f593322c0f2f242bca2b0dd155339d73
parenta127998aa6863476a89dc25d9f79ff3172f62a1e (diff)
downloadhomebrew-ad2966e41cb3b95d86cd21fc0734f06359fea784.tar.bz2
zshdb 0.09
Closes #38779. Signed-off-by: Tim D. Smith <git@tim-smith.us>
-rw-r--r--Library/Formula/zshdb.rb11
1 files changed, 4 insertions, 7 deletions
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