Skip to content

Instantly share code, notes, and snippets.

@cloverstd
Forked from lalyos/sshpass.rb
Last active March 14, 2022 20:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save cloverstd/1b37b6f48015b01ff44b936e11da496a to your computer and use it in GitHub Desktop.
Save cloverstd/1b37b6f48015b01ff44b936e11da496a to your computer and use it in GitHub Desktop.
brew install sshpass
require 'formula'
class Sshpass < Formula
url 'http://sourceforge.net/projects/sshpass/files/sshpass/1.06/sshpass-1.06.tar.gz'
homepage 'http://sourceforge.net/projects/sshpass'
sh256 'c6324fcee608b99a58f9870157dfa754837f8c48be3df0f5e2f3accf145dee60'
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
def test
system "sshpass"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment