aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-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