#!/bin/bash if [ "$(xcode-select -p 1>/dev/null; echo $?)" -ne 0 ]; then xcode-select --install; fi && \ curl -O -L -J https://sourceforge.net/projects/sshpass/files/latest/download && \ ARCHIVE="$(find . -name sshpass*.tar.gz -ctime -30s)" && \ tar xvzf "$ARCHIVE" && \ cd "${ARCHIVE%%.*}" && \ echo "./configure" && \ echo "make" && \ echo "sudo make install" && \ cd - && \ sshpass -V