This file contains 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
# Rebuild curl with sftp support | |
apt-get install -y build-essential debhelper libssh2-1-dev | |
apt-get source curl | |
apt-get build-dep -y curl | |
cd curl-* | |
DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage | |
cd .. | |
dpkg -i curl*.deb libcurl3-nss*.deb libcurl4-doc*.deb libcurl4-openssl*.deb libcurl3_*.deb | |
# Use "drench" version which support `git ftp fetch` |