aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrett Koonce2013-11-10 21:08:32 -0600
committerAdam Vandenberg2013-11-10 20:58:07 -0800
commitdb19e513580e1b2da25d42e2eba1cd3634273e19 (patch)
treed4cba869e1f68e0a9d565c50c7d623e312078a7b
parentb608c1d074bd958fe0a1cfb473d971f154690900 (diff)
downloadhomebrew-db19e513580e1b2da25d42e2eba1cd3634273e19.tar.bz2
pdsh: 2.31 update, --HEAD option, test
Closes #24147. Closes #24165. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
-rw-r--r--Library/Formula/pdsh.rb10
1 files changed, 8 insertions, 2 deletions
diff --git a/Library/Formula/pdsh.rb b/Library/Formula/pdsh.rb
index b5dcc95dd..03934d4b8 100644
--- a/Library/Formula/pdsh.rb
+++ b/Library/Formula/pdsh.rb
@@ -2,8 +2,10 @@ require 'formula'
class Pdsh < Formula
homepage 'https://code.google.com/p/pdsh/'
- url 'http://pdsh.googlecode.com/files/pdsh-2.29.tar.bz2'
- sha1 'a3e44ffba151f023d72df67cd7a7d37b4a80c80e'
+ url 'https://code.google.com/p/pdsh/', :tag => 'pdsh-2.31', :using => :git
+ sha1 '03f1f82761162e5f0d382f4e586aae9fb0ef7ef9'
+
+ head 'https://code.google.com/p/pdsh/', :using => :git
conflicts_with 'clusterit', :because => 'both install `dshbak`'
@@ -27,4 +29,8 @@ class Pdsh < Formula
system "./configure", *args
system "make install"
end
+
+ test do
+ system "#{bin}/pdsh", "-V"
+ end
end