Last active
September 30, 2021 11:58
-
-
Save konstruktoid/f324f980384a8a99f074507827d38d20 to your computer and use it in GitHub Desktop.
brew install sshpass
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# curl -sSL <URL>/sshpass.rb > /tmp/sshpass.rb && brew install /tmp/sshpass.rb && rm /tmp/sshpass.rb | |
require 'formula' | |
class Sshpass < Formula | |
url 'http://sourceforge.net/projects/sshpass/files/sshpass/1.09/sshpass-1.09.tar.gz' | |
homepage 'http://sourceforge.net/projects/sshpass' | |
sha256 '71746e5e057ffe9b00b44ac40453bf47091930cba96bbea8dc48717dedc49fb7' | |
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