[CalendarServer-changes] [3413] CalendarServer/trunk/run
source_changes at macosforge.org
source_changes at macosforge.org
Wed Nov 26 10:29:46 PST 2008
Revision: 3413
http://trac.macosforge.org/projects/calendarserver/changeset/3413
Author: sagen at apple.com
Date: 2008-11-26 10:29:44 -0800 (Wed, 26 Nov 2008)
Log Message:
-----------
Allow curl to follow 302 redirects to allow dynamic mirror selection
Modified Paths:
--------------
CalendarServer/trunk/run
Modified: CalendarServer/trunk/run
===================================================================
--- CalendarServer/trunk/run 2008-11-26 18:15:43 UTC (rev 3412)
+++ CalendarServer/trunk/run 2008-11-26 18:29:44 UTC (rev 3413)
@@ -326,14 +326,14 @@
if [ ! -f "${cache_file}" ]; then
echo "Downloading ${name}...";
- curl "${url}" -o "${cache_file}";
+ curl -L "${url}" -o "${cache_file}";
fi;
echo "Unpacking ${name} from cache...";
get () { cat "${cache_file}"; }
else
echo "Downloading ${name}...";
- get () { curl "${url}"; }
+ get () { curl -L "${url}"; }
fi;
rm -rf "${path}";
@@ -489,7 +489,7 @@
if ! py_have_module xml.dom.ext; then
xml="${top}/PyXML-0.8.4";
- www_get "PyXML" "${xml}" http://internap.dl.sourceforge.net/sourceforge/pyxml/PyXML-0.8.4.tar.gz;
+ www_get "PyXML" "${xml}" http://prdownloads.sourceforge.net/sourceforge/pyxml/PyXML-0.8.4.tar.gz;
py_build "PyXML" "${xml}" false;
py_install "PyXML" "${xml}";
@@ -683,7 +683,7 @@
if ! py_have_module pydirector; then
pydirector="${top}/pydirector-1.0.0";
- www_get "PyDirector" "${pydirector}" http://voxel.dl.sourceforge.net/sourceforge/pythondirector/pydirector-1.0.0.tar.gz;
+ www_get "PyDirector" "${pydirector}" http://prdownloads.sourceforge.net/sourceforge/pythondirector/pydirector-1.0.0.tar.gz;
py_build "PyDirector" "${pydirector}" false;
py_install "PyDirector" "${pydirector}";
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20081126/6291de81/attachment.html>
More information about the calendarserver-changes
mailing list