[Yt-svn] commit/yt: MatthewTurk: Since not all systems have wget, switch to curl for getting files in the

Bitbucket commits-noreply at bitbucket.org
Tue Nov 8 07:41:56 PST 2011


1 new commit in yt:


https://bitbucket.org/yt_analysis/yt/changeset/2c1db459ba68/
changeset:   2c1db459ba68
branch:      yt
user:        MatthewTurk
date:        2011-11-08 13:29:56
summary:     Since not all systems have wget, switch to curl for getting files in the
install script.
affected #:  1 file

diff -r 4e417d8c0176dc4c90548407558a7d9767971d04 -r 2c1db459ba683764f2cb90421eeef32725679724 doc/install_script.sh
--- a/doc/install_script.sh
+++ b/doc/install_script.sh
@@ -272,8 +272,8 @@
 {
     echo "Downloading $1 from yt-project.org"
     [ -e $1 ] && return
-    wget -nv "http://yt-project.org/dependencies/$1" || do_exit
-    wget -nv "http://yt-project.org/dependencies/$1.md5" || do_exit
+    curl -sSO "http://yt-project.org/dependencies/$1" || do_exit
+    curl -sSO "http://yt-project.org/dependencies/$1.md5" || do_exit
     ( which md5sum &> /dev/null ) || return # return if we don't have md5sum
     ( md5sum -c $1.md5 2>&1 ) 1>> ${LOG_FILE} || do_exit
 }

Repository URL: https://bitbucket.org/yt_analysis/yt/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.



More information about the yt-svn mailing list