[or-cvs] r20739: {website} Add a hack so the mirror script can handle domains without t (website/trunk)

sebastian at seul.org sebastian at seul.org
Sun Oct 4 01:53:26 UTC 2009


Author: sebastian
Date: 2009-10-03 21:53:26 -0400 (Sat, 03 Oct 2009)
New Revision: 20739

Modified:
   website/trunk/update-mirrors.pl
Log:
Add a hack so the mirror script can handle domains without trailing /

Modified: website/trunk/update-mirrors.pl
===================================================================
--- website/trunk/update-mirrors.pl	2009-10-03 22:53:39 UTC (rev 20738)
+++ website/trunk/update-mirrors.pl	2009-10-04 01:53:26 UTC (rev 20739)
@@ -37,7 +37,7 @@
 
 sub FetchDate {
     my $url = shift; # Base url for mirror
-    my $trace = "project/trace/www.torproject.org"; # Location of recent update info
+    my $trace = "/project/trace/www.torproject.org"; # Location of recent update info
     $url = "$url$trace";
 
     print "Fetching possible date from: $url\n";



More information about the tor-commits mailing list