diff options
author | Ludwig Nussel <ludwig.nussel@suse.de> | 2010-09-07 10:15:09 +0200 |
---|---|---|
committer | Ludwig Nussel <ludwig.nussel@suse.de> | 2010-09-20 14:15:07 +0200 |
commit | 95d17c94bd02b702df3a488a7e33176a9532b1f9 (patch) | |
tree | eb11f03d3607ae000587cb2bbc83679dfc27febc /spectool | |
parent | d5a0effe3be01ef40125d98b12b4eade530db745 (diff) |
also support https download
Diffstat (limited to 'spectool')
-rwxr-xr-x | spectool | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -277,7 +277,7 @@ for my $spec (@specs) { for my $t (keys %$parsed) { next unless ($t =~ /^(?:source|patch)\d*/); my $url = $parsed->{$t}; - next unless $url =~ /^(?:http|ftp):\/\//; + next unless $url =~ /^(?:https?|ftp):\/\//; my $file = $url; $file =~ s/.*\///; next if -e $file; |