[Commits] [svn:einsteintoolkit] www/download/ (Rev. 1226)

rhaas at tapir.caltech.edu rhaas at tapir.caltech.edu
Mon Apr 28 18:08:59 CDT 2014


User: rhaas
Date: 2014/04/28 06:08 PM

Modified:
 /download/
  index.php

Log:
 add -L option to curl to follow redirections
 
 otherwise it silently produces an empty file.

File Changes:

Directory: /download/
=====================

File [modified]: index.php
Delta lines: +2 -2
===================================================================
--- download/index.php	2014-04-28 16:50:25 UTC (rev 1225)
+++ download/index.php	2014-04-28 23:08:59 UTC (rev 1226)
@@ -22,7 +22,7 @@
 notes</a> for more information.
 
 <pre>
-curl -kO https://raw.github.com/gridaphobe/CRL/ET_2013_11/GetComponents
+curl -kLO https://raw.githubusercontent.com/gridaphobe/CRL/ET_2013_11/GetComponents
 
 chmod a+x GetComponents
 
@@ -40,7 +40,7 @@
 as the released version.
 
 <pre>
-curl -kO https://raw.github.com/gridaphobe/CRL/master/GetComponents 
+curl -kLO https://raw.githubusercontent.com/gridaphobe/CRL/master/GetComponents
 
 chmod a+x GetComponents
 



More information about the Commits mailing list