[Yt-svn] yt-commit r1715 - trunk/doc
mturk at wrangler.dreamhost.com
mturk at wrangler.dreamhost.com
Thu May 6 16:23:07 PDT 2010
Author: mturk
Date: Thu May 6 16:23:07 2010
New Revision: 1715
URL: http://yt.enzotools.org/changeset/1715
Log:
Use curl instead of wget
Modified:
trunk/doc/install_script_osx106.sh
Modified: trunk/doc/install_script_osx106.sh
==============================================================================
--- trunk/doc/install_script_osx106.sh (original)
+++ trunk/doc/install_script_osx106.sh Thu May 6 16:23:07 2010
@@ -64,8 +64,8 @@
{
echo "Downloading $1 from yt.enzotools.org"
[ -e $1 ] && return
- wget -nv "http://yt.enzotools.org/dependencies/osx/$1" || do_exit
- wget -nv "http://yt.enzotools.org/dependencies/osx/$1.md5" || do_exit
+ curl "http://yt.enzotools.org/dependencies/osx/$1" -o $1 || do_exit
+ curl "http://yt.enzotools.org/dependencies/osx/$1.md5" -o $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
}
More information about the yt-svn
mailing list