Changeset 5701


Ignore:
Timestamp:
2006-12-06T20:29:11+01:00 (9 years ago)
Author:
nbd
Message:

strip trailing / from download urls

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/scripts/download.pl

    r5647 r5701  
    3838        my $options = $ENV{WGET_OPTIONS}; 
    3939        $options or $options = ""; 
    40  
     40         
     41        $mirror =~ s/\/$//; 
    4142        open WGET, "wget -t1 --timeout=20 $options -O- \"$mirror/$filename\" |" or die "Cannot launch wget.\n"; 
    4243        open MD5SUM, "| $md5cmd > \"$target/$filename.md5sum\"" or die "Cannot launch md5sum.\n"; 
Note: See TracChangeset for help on using the changeset viewer.