Add a hack so the mirror script can handle domains without trailing /
Sebastian Hahn

Sebastian Hahn commited on 2009-10-04 03:53:26
Zeige 1 geänderte Dateien mit 1 Einfügungen und 1 Löschungen.

... ...
@@ -37,7 +37,7 @@ sub sanitize {
37 37
 
38 38
 sub FetchDate {
39 39
     my $url = shift; # Base url for mirror
40
-    my $trace = "project/trace/www.torproject.org"; # Location of recent update info
40
+    my $trace = "/project/trace/www.torproject.org"; # Location of recent update info
41 41
     $url = "$url$trace";
42 42
 
43 43
     print "Fetching possible date from: $url\n";
44 44