Add --location when downloading sources in case the server needs to redirect us
--- trunk/darwinbuild/darwinbuild.common 2008-10-30 23:08:44 UTC (rev 406)
+++ trunk/darwinbuild/darwinbuild.common 2008-10-31 15:36:47 UTC (rev 407)
@@ -152,6 +152,7 @@
echo "Downloading $master_site/$filename ..."
curl $CURLARGS --fail \
--silent \
+ --location \
--continue-at - \
--output "$destination/.tmp.${filename}" \
--url "$master_site/$filename"