[tor-commits] [ooni-probe/master] Change wget to curl.

art at torproject.org art at torproject.org
Tue Oct 29 15:52:16 UTC 2013


commit e98e510ac7859381ea1028a20fc57c684ef08ec1
Author: anadahz <anadahz at github>
Date:   Fri Aug 30 03:34:51 2013 +0200

    Change wget to curl.
    
    In order to resolve SSL certificate verification issues
---
 setup-dependencies.sh |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/setup-dependencies.sh b/setup-dependencies.sh
index b07a716..800d08c 100755
--- a/setup-dependencies.sh
+++ b/setup-dependencies.sh
@@ -421,8 +421,8 @@ if which pip >/dev/null 2>&1; then
 fi
 
 install_pip_securely() {
-  DO "wget -O ${BUILD_DIR}/${PIP_PKG} ${PIP_URL}" "0"
-  DO "wget -O ${BUILD_DIR}/${PIP_PKG}.asc ${PIP_SIG_URL}" "0"
+  DO "curl -o ${BUILD_DIR}/${PIP_PKG} ${PIP_URL}" "0"
+  DO "curl -o ${BUILD_DIR}/${PIP_PKG}.asc ${PIP_SIG_URL}" "0"
 
   echo "[+] Verifying PGP signature of pip"
   echo "${PIP_PUB_KEY}" > ${PIP_KEY_FILE}





More information about the tor-commits mailing list